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
This commit is contained in:
Bryce Lee
2022-03-08 10:09:13 -08:00
parent 485b25212b
commit cb848faa67

View File

@@ -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