Loading packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt +11 −6 Original line number Original line Diff line number Diff line Loading @@ -102,6 +102,10 @@ class PrivacyDotViewController @Inject constructor( configurationController.addCallback(object : ConfigurationController.ConfigurationListener { configurationController.addCallback(object : ConfigurationController.ConfigurationListener { override fun onLayoutDirectionChanged(isRtl: Boolean) { override fun onLayoutDirectionChanged(isRtl: Boolean) { uiExecutor?.execute { // If rtl changed, hide all dotes until the next state resolves setCornerVisibilities(View.INVISIBLE) synchronized(this) { synchronized(this) { val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) nextViewState = nextViewState.copy( nextViewState = nextViewState.copy( Loading @@ -110,6 +114,7 @@ class PrivacyDotViewController @Inject constructor( ) ) } } } } } }) }) stateController.addCallback(object : StatusBarStateController.StateListener { stateController.addCallback(object : StatusBarStateController.StateListener { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/events/PrivacyDotViewController.kt +11 −6 Original line number Original line Diff line number Diff line Loading @@ -102,6 +102,10 @@ class PrivacyDotViewController @Inject constructor( configurationController.addCallback(object : ConfigurationController.ConfigurationListener { configurationController.addCallback(object : ConfigurationController.ConfigurationListener { override fun onLayoutDirectionChanged(isRtl: Boolean) { override fun onLayoutDirectionChanged(isRtl: Boolean) { uiExecutor?.execute { // If rtl changed, hide all dotes until the next state resolves setCornerVisibilities(View.INVISIBLE) synchronized(this) { synchronized(this) { val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) nextViewState = nextViewState.copy( nextViewState = nextViewState.copy( Loading @@ -110,6 +114,7 @@ class PrivacyDotViewController @Inject constructor( ) ) } } } } } }) }) stateController.addCallback(object : StatusBarStateController.StateListener { stateController.addCallback(object : StatusBarStateController.StateListener { Loading