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

Commit cb612eeb authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Quick fix for notification scrim showing when swiping up the bouncer

This fix is disabling activating mQsExpandImmediate on lockscreen. This might be even long term fix as this callback is not activated on lockscreen when we actually want it to anyway - so it works on lockscreen but only when it's not desired.

Fixes: 228607886
Test: manual
Change-Id: Iaeee17391894f4e3a0bd617ca6b8133f0b9718e4
parent 11000cfd
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3173,7 +3173,10 @@ public class NotificationPanelViewController extends PanelViewController {
        mFalsingCollector.onTrackingStarted(!mKeyguardStateController.canDismissLockScreen());
        super.onTrackingStarted();
        mScrimController.onTrackingStarted();
        if (mShouldUseSplitNotificationShade) {
        // normally we want to set mQsExpandImmediate for every split shade case (at least when
        // expanding), but keyguard tracking logic is different - this callback is called when
        // unlocking with swipe up but not when swiping down to reveal shade
        if (mShouldUseSplitNotificationShade && !mKeyguardShowing) {
            mQsExpandImmediate = true;
        }
        if (mQsFullyExpanded) {