Loading packages/SystemUI/multivalentTests/src/com/android/systemui/shade/NotificationShadeWindowViewControllerTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ class NotificationShadeWindowViewControllerTest(flags: FlagsParameterization) : primaryBouncerInteractor, alternateBouncerInteractor, mock(BouncerViewBinder::class.java), mock(ConfigurationForwarder::class.java), { mock(ConfigurationForwarder::class.java) }, brightnessMirrorShowingInteractor, ) underTest.setupExpandedStatusBar() Loading packages/SystemUI/multivalentTests/src/com/android/systemui/shade/NotificationShadeWindowViewTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ class NotificationShadeWindowViewTest : SysuiTestCase() { primaryBouncerInteractor, alternateBouncerInteractor, mock(), configurationForwarder, { configurationForwarder }, brightnessMirrorShowingInteractor, ) Loading packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java +3 −2 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ import java.util.Optional; import java.util.function.Consumer; import javax.inject.Inject; import javax.inject.Provider; /** * Controller for {@link NotificationShadeWindowView}. Loading Loading @@ -193,7 +194,7 @@ public class NotificationShadeWindowViewController implements Dumpable { PrimaryBouncerInteractor primaryBouncerInteractor, AlternateBouncerInteractor alternateBouncerInteractor, BouncerViewBinder bouncerViewBinder, @ShadeDisplayAware ConfigurationForwarder configurationForwarder, @ShadeDisplayAware Provider<ConfigurationForwarder> configurationForwarder, BrightnessMirrorShowingInteractor brightnessMirrorShowingInteractor) { mLockscreenShadeTransitionController = transitionController; mFalsingCollector = falsingCollector; Loading Loading @@ -257,7 +258,7 @@ public class NotificationShadeWindowViewController implements Dumpable { } if (ShadeWindowGoesAround.isEnabled()) { mView.setConfigurationForwarder(configurationForwarder); mView.setConfigurationForwarder(configurationForwarder.get()); } dumpManager.registerDumpable(this); } Loading packages/SystemUI/src/com/android/systemui/shade/ShadeDisplayAwareModule.kt +4 −8 Original line number Diff line number Diff line Loading @@ -79,12 +79,12 @@ object ShadeDisplayAwareModule { fun provideShadeWindowConfigurationController( @ShadeDisplayAware shadeContext: Context, factory: ConfigurationControllerImpl.Factory, @GlobalConfig globalConfigConfigController: ConfigurationController, @GlobalConfig globalConfigController: ConfigurationController, ): ConfigurationController { return if (ShadeWindowGoesAround.isEnabled) { factory.create(shadeContext) } else { globalConfigConfigController globalConfigController } } Loading @@ -93,12 +93,8 @@ object ShadeDisplayAwareModule { @SysUISingleton fun provideShadeWindowConfigurationForwarder( @ShadeDisplayAware shadeConfigurationController: ConfigurationController, @GlobalConfig globalConfigController: ConfigurationController, ): ConfigurationForwarder { return if (ShadeWindowGoesAround.isEnabled) { shadeConfigurationController } else { globalConfigController } ShadeWindowGoesAround.isUnexpectedlyInLegacyMode() return shadeConfigurationController } } Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/shade/NotificationShadeWindowViewControllerTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ class NotificationShadeWindowViewControllerTest(flags: FlagsParameterization) : primaryBouncerInteractor, alternateBouncerInteractor, mock(BouncerViewBinder::class.java), mock(ConfigurationForwarder::class.java), { mock(ConfigurationForwarder::class.java) }, brightnessMirrorShowingInteractor, ) underTest.setupExpandedStatusBar() Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/shade/NotificationShadeWindowViewTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -203,7 +203,7 @@ class NotificationShadeWindowViewTest : SysuiTestCase() { primaryBouncerInteractor, alternateBouncerInteractor, mock(), configurationForwarder, { configurationForwarder }, brightnessMirrorShowingInteractor, ) Loading
packages/SystemUI/src/com/android/systemui/shade/NotificationShadeWindowViewController.java +3 −2 Original line number Diff line number Diff line Loading @@ -88,6 +88,7 @@ import java.util.Optional; import java.util.function.Consumer; import javax.inject.Inject; import javax.inject.Provider; /** * Controller for {@link NotificationShadeWindowView}. Loading Loading @@ -193,7 +194,7 @@ public class NotificationShadeWindowViewController implements Dumpable { PrimaryBouncerInteractor primaryBouncerInteractor, AlternateBouncerInteractor alternateBouncerInteractor, BouncerViewBinder bouncerViewBinder, @ShadeDisplayAware ConfigurationForwarder configurationForwarder, @ShadeDisplayAware Provider<ConfigurationForwarder> configurationForwarder, BrightnessMirrorShowingInteractor brightnessMirrorShowingInteractor) { mLockscreenShadeTransitionController = transitionController; mFalsingCollector = falsingCollector; Loading Loading @@ -257,7 +258,7 @@ public class NotificationShadeWindowViewController implements Dumpable { } if (ShadeWindowGoesAround.isEnabled()) { mView.setConfigurationForwarder(configurationForwarder); mView.setConfigurationForwarder(configurationForwarder.get()); } dumpManager.registerDumpable(this); } Loading
packages/SystemUI/src/com/android/systemui/shade/ShadeDisplayAwareModule.kt +4 −8 Original line number Diff line number Diff line Loading @@ -79,12 +79,12 @@ object ShadeDisplayAwareModule { fun provideShadeWindowConfigurationController( @ShadeDisplayAware shadeContext: Context, factory: ConfigurationControllerImpl.Factory, @GlobalConfig globalConfigConfigController: ConfigurationController, @GlobalConfig globalConfigController: ConfigurationController, ): ConfigurationController { return if (ShadeWindowGoesAround.isEnabled) { factory.create(shadeContext) } else { globalConfigConfigController globalConfigController } } Loading @@ -93,12 +93,8 @@ object ShadeDisplayAwareModule { @SysUISingleton fun provideShadeWindowConfigurationForwarder( @ShadeDisplayAware shadeConfigurationController: ConfigurationController, @GlobalConfig globalConfigController: ConfigurationController, ): ConfigurationForwarder { return if (ShadeWindowGoesAround.isEnabled) { shadeConfigurationController } else { globalConfigController } ShadeWindowGoesAround.isUnexpectedlyInLegacyMode() return shadeConfigurationController } }