Merge "Update dream smartspace surface." into tm-dev

This commit is contained in:
Bryce Lee
2022-03-22 15:12:06 +00:00
committed by Android (Google) Code Review

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