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

Commit cb6e53ed authored by Christine Franks's avatar Christine Franks Committed by android-build-merger
Browse files

Merge "Don't lock down system user in demo mode" into oc-dr1-dev am: 4f540fe8 am: f3b67686

am: ff264d07

Change-Id: I9b65b7f2e90730895e65b6a8fd76114832458540
parents dbf271e0 ff264d07
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -659,7 +659,7 @@ public class KeyguardViewMediator extends SystemUI {
    }

    boolean mustNotUnlockCurrentUser() {
        return (UserManager.isSplitSystemUser() || UserManager.isDeviceInDemoMode(mContext))
        return UserManager.isSplitSystemUser()
                && KeyguardUpdateMonitor.getCurrentUser() == UserHandle.USER_SYSTEM;
    }