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

Commit 79a3f02f authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

Fix bug where QS tiles appeared behind keyguard

Animations must be run when closing QS during reset. Otherwise, keyguard
can enter a bad state where QS remains visible even though it should be
hidden.

Test: Open QS, tap user icon, double-tap blank area, ensure you are
      taken back to the lock screen and that the UI looks normal
Fixes: 193041630
Change-Id: Id3bf85b33c50e833ca6639b04b76ac5b512cdd7c
parent b96d192a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -685,9 +685,7 @@ public class StatusBar extends SystemUI implements DemoMode,
            new FalsingManager.FalsingBeliefListener() {
                @Override
                public void onFalse() {
                    // Hides quick settings.
                    mNotificationPanelViewController.resetViews(true);
                    // Hides bouncer and quick-quick settings.
                    // Hides quick settings, bouncer, and quick-quick settings.
                    mStatusBarKeyguardViewManager.reset(true);
                }
            };
+3 −1
Original line number Diff line number Diff line
@@ -521,7 +521,9 @@ public class StatusBarKeyguardViewManager implements RemoteInputController.Callb
    @Override
    public void reset(boolean hideBouncerWhenShowing) {
        if (mShowing) {
            mNotificationPanelViewController.closeQs();
            // Hide quick settings.
            mNotificationPanelViewController.resetViews(/* animate= */ true);
            // Hide bouncer and quick-quick settings.
            if (mOccluded && !mDozing) {
                mStatusBar.hideKeyguard();
                if (hideBouncerWhenShowing || mBouncer.needsFullscreenBouncer()) {