Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/StatusBarPhoneModule.kt +14 −0 Original line number Diff line number Diff line Loading @@ -207,5 +207,19 @@ interface StatusBarPhoneModule { singleDisplayLazy.get() } } @Provides @SysUISingleton @IntoMap @ClassKey(AutoHideControllerStore::class) fun storeAsCoreStartable( multiDisplayLazy: Lazy<MultiDisplayAutoHideControllerStore> ): CoreStartable { return if (StatusBarConnectedDisplays.isEnabled) { multiDisplayLazy.get() } else { CoreStartable.NOP } } } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/StatusBarPhoneModule.kt +14 −0 Original line number Diff line number Diff line Loading @@ -207,5 +207,19 @@ interface StatusBarPhoneModule { singleDisplayLazy.get() } } @Provides @SysUISingleton @IntoMap @ClassKey(AutoHideControllerStore::class) fun storeAsCoreStartable( multiDisplayLazy: Lazy<MultiDisplayAutoHideControllerStore> ): CoreStartable { return if (StatusBarConnectedDisplays.isEnabled) { multiDisplayLazy.get() } else { CoreStartable.NOP } } } }