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

Commit 305fc231 authored by d34d's avatar d34d
Browse files

SysUI: Show keyguard when LLS dies and had focus

Make sure LLS had focus before showing keyguard.

Change-Id: Ic5e8168f7b97cef92b57cac4d055b398ce8a9d0a
TICKET: CYNGNOS-2671
parent ef03777a
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -177,6 +177,8 @@ public class LiveLockScreenController {
                    mExternalKeyguardViewCallbacks);
            mLiveLockScreenView = null;
            // make sure we're showing the notification panel if the LLS crashed while it had focus
            if (mLlsHasFocus) {
                mLlsHasFocus = false;
                mHandler.post(new Runnable() {
                    @Override
                    public void run() {
@@ -184,6 +186,7 @@ public class LiveLockScreenController {
                    }
                });
            }
        }

        @Override
        public void slideLockscreenIn() {