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

Commit ef344a3d authored by Leif Hendrik Wilden's avatar Leif Hendrik Wilden
Browse files

Ensure keyguard is considered unlocked on devices that disable it.

Test: Manually tested that removable storage devices will now mount on ATV.
Bug: 71551000
Change-Id: I23eee328d54a9b61702a19b777fd1c8895d2d680
parent eb7c473f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -707,6 +707,10 @@ public class KeyguardViewMediator extends SystemUI {
                    && !mLockPatternUtils.isLockScreenDisabled(
                            KeyguardUpdateMonitor.getCurrentUser()),
                    mSecondaryDisplayShowing, true /* forceCallbacks */);
        } else {
            // The system's keyguard is disabled or missing.
            setShowingLocked(mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()),
                    mSecondaryDisplayShowing, true);
        }

        mStatusBarKeyguardViewManager =