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

Commit 1838cd08 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Call the scrim unlock callback when transitioning to BUBBLES_EXPANDED.

Without this, mKeyguardFading is always true (since it's not set to false after the Bubbles scrim transitions in) and you can't interact with the Bubbles UI.

Test: open bubbles from lock screen notif
Fixes: 158867259
Change-Id: Ia800d13468141f69f3ff090c2919ab7d64217c60
parent 8140ae8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3982,7 +3982,7 @@ public class StatusBar extends SystemUI implements DemoMode,
        } else if (mIsKeyguard && !unlocking) {
            mScrimController.transitionTo(ScrimState.KEYGUARD);
        } else if (mBubbleController.isStackExpanded()) {
            mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED);
            mScrimController.transitionTo(ScrimState.BUBBLE_EXPANDED, mUnlockScrimCallback);
        } else {
            mScrimController.transitionTo(ScrimState.UNLOCKED, mUnlockScrimCallback);
        }