summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2022-03-08 10:09:13 -0800
committer Bryce Lee <brycelee@google.com> 2022-03-08 10:09:13 -0800
commitcb848faa673d3b1760e0306dd2a9228593afdadd (patch)
tree071198de7c5ec5a3c24fa96a3c173e9b383bb096
parent485b25212bd1ce17c6da24991e309c5647cca973 (diff)
Update dream smartspace surface.
This changelist updates the dream smartspace surface from the lockscreen target to the now dedicated dream target. Bug: 217559844 Test: manual Change-Id: I07b76b18d9be8a8d9a68b89134c44c36f01c12f2
-rw-r--r--packages/SystemUI/src/com/android/systemui/dreams/smartspace/DreamsSmartspaceController.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/dreams/smartspace/DreamsSmartspaceController.kt b/packages/SystemUI/src/com/android/systemui/dreams/smartspace/DreamsSmartspaceController.kt
index 4e228a14fc88..9b99c522aab9 100644
--- a/packages/SystemUI/src/com/android/systemui/dreams/smartspace/DreamsSmartspaceController.kt
+++ b/packages/SystemUI/src/com/android/systemui/dreams/smartspace/DreamsSmartspaceController.kt
@@ -160,9 +160,8 @@ class DreamsSmartspaceController @Inject constructor(
return
}
- // TODO(b/217559844): Replace with "dream" session when available.
val newSession = smartspaceManager.createSmartspaceSession(
- SmartspaceConfig.Builder(context, "lockscreen").build())
+ SmartspaceConfig.Builder(context, "dream").build())
Log.d(TAG, "Starting smartspace session for dream")
newSession.addOnTargetsAvailableListener(uiExecutor, sessionListener)
this.session = newSession