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

Commit ae861e8e authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Show scrims when bouncer is on top of QS

Test: visual
Change-Id: I09c37c8478e1c409854af837cabf7bb12c5de79b
Fixes: 74511816
parent 6964e754
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4619,8 +4619,9 @@ public class StatusBar extends SystemUI implements DemoMode,
                == FingerprintUnlockController.MODE_WAKE_AND_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) {