From cb848faa673d3b1760e0306dd2a9228593afdadd Mon Sep 17 00:00:00 2001 From: Bryce Lee Date: Tue, 8 Mar 2022 10:09:13 -0800 Subject: [PATCH] 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 --- .../systemui/dreams/smartspace/DreamsSmartspaceController.kt | 3 +-- 1 file changed, 1 insertion(+), 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 4e228a14fc88c..9b99c522aab9e 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