Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a86ff247 authored by Lucas Dupin's avatar Lucas Dupin Committed by android-build-merger
Browse files

Merge "Show scrims when bouncer is on top of QS" into pi-dev

am: fa9eef64

Change-Id: Id8a9f2582d8a4142c44c5813b8b8ff1138072fe1
parents c5df4d60 fa9eef64
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4624,8 +4624,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                != FingerprintUnlockController.MODE_UNLOCK);

        if (mBouncerShowing) {
            mScrimController.transitionTo(
                    mIsOccluded ? ScrimState.BOUNCER_OCCLUDED : ScrimState.BOUNCER);
            final boolean qsExpanded = mQSPanel != null && mQSPanel.isExpanded();
            mScrimController.transitionTo(mIsOccluded || qsExpanded ?
                    ScrimState.BOUNCER_OCCLUDED : ScrimState.BOUNCER);
        } else if (mLaunchCameraOnScreenTurningOn || isInLaunchTransition()) {
            mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
        } else if (mBrightnessMirrorVisible) {