Fix typo in comment and logging (dream -> communal).
Flag: None
Bug: 314203588
Test: N/A
Change-Id: I632cea716ef44f64a8dabab17673d1766922abf8
diff --git a/packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt b/packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt
index 75f9d80..c5dac77 100644
--- a/packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt
+++ b/packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt
@@ -39,7 +39,7 @@
import javax.inject.Inject
import javax.inject.Named
-/** Controller for managing the smartspace view on the dream */
+/** Controller for managing the smartspace view on the glanceable hub */
@SysUISingleton
class CommunalSmartspaceController
@Inject
@@ -125,7 +125,7 @@
smartspaceManager.createSmartspaceSession(
SmartspaceConfig.Builder(context, UI_SURFACE_GLANCEABLE_HUB).build()
)
- Log.d(TAG, "Starting smartspace session for dream")
+ Log.d(TAG, "Starting smartspace session for communal")
newSession.addOnTargetsAvailableListener(uiExecutor, sessionListener)
this.session = newSession
@@ -153,7 +153,7 @@
plugin?.registerSmartspaceEventNotifier(null)
plugin?.onTargetsAvailable(emptyList())
- Log.d(TAG, "Ending smartspace session for dream")
+ Log.d(TAG, "Ending smartspace session for communal")
}
fun addListener(listener: SmartspaceTargetListener) {