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

Commit f3b67686 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

Change-Id: I1d86ea5b69fe9a8bddb29d3e8483cc6a34b3b689
parents 68cf0f4d 4f540fe8
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;
    }