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

Commit d979dd7f authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Go back to keyguard if user is switched in lock screen

This is not the preferred solution, but at least it is not incorrect.

Bug: 7144478
Change-Id: Iec26723b21ff5c64546d57f9d8744a3bf2929862
parent 9f750af6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -214,9 +214,9 @@ public class KeyguardViewManager {
     */
    public synchronized void reset() {
        if (DEBUG) Log.d(TAG, "reset()");
        if (mKeyguardView != null) {
            mKeyguardView.reset();
        }
        // User might have switched, check if we need to go back to keyguard
        // TODO: It's preferable to stay and show the correct lockscreen or unlock if none
        maybeCreateKeyguardLocked(shouldEnableScreenRotation());
    }

    public synchronized void onScreenTurnedOff() {