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

Commit e47f682c 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: Ib4670a8e4685a9f9bd933ccba9878bd59ccb6059
parents 794d663e 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;
    }