Loading packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ import java.util.concurrent.Executor 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 Loading Loading @@ -125,7 +125,7 @@ constructor( 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 Loading Loading @@ -153,7 +153,7 @@ constructor( 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) { Loading Loading
packages/SystemUI/src/com/android/systemui/communal/smartspace/CommunalSmartspaceController.kt +3 −3 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ import java.util.concurrent.Executor 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 Loading Loading @@ -125,7 +125,7 @@ constructor( 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 Loading Loading @@ -153,7 +153,7 @@ constructor( 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) { Loading