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

Commit 76e688ba authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

LLS: Show notification panel if LLS crashes

If a LLS crashes while it has focus, PhoneWindowManager will disable
the left edge gesture detection.  This patch makes sure we are showing
the notification panel if the LLS crashes while it currently has
focus.

Change-Id: Ibc50246c2e426a0d40d0e7d498be27ada0b27c00
TICKET: CYNGNOS-2483
parent 81ad527b
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -176,6 +176,13 @@ public class LiveLockScreenController {
            mLiveLockScreenView.unregisterKeyguardExternalViewCallback(
                    mExternalKeyguardViewCallbacks);
            mLiveLockScreenView = null;
            // make sure we're showing the notification panel if the LLS crashed while it had focus
            mHandler.post(new Runnable() {
                @Override
                public void run() {
                    mBar.showKeyguard();
                }
            });
        }

        @Override