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

Commit fd58bc15 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Don't consider input restricted when the lockscreen is disabled by an app." into cm-10.1

parents fcf0fd60 5292a65a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -876,11 +876,10 @@ public class KeyguardViewMediator {

    /**
     * Given the state of the keyguard, is the input restricted?
     * Input is restricted when the keyguard is showing, or when the keyguard
     * was suppressed by an app that disabled the keyguard or we haven't been provisioned yet.
     * Input is restricted when the keyguard is showing or we haven't been provisioned yet.
     */
    public boolean isInputRestricted() {
        return mShowing || mNeedToReshowWhenReenabled || !mUpdateMonitor.isDeviceProvisioned();
        return mShowing || !mUpdateMonitor.isDeviceProvisioned();
    }

    private void doKeyguardLocked() {