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

Commit 4f540fe8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't lock down system user in demo mode" into oc-dr1-dev

parents a4b5e089 338c6ed5
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;
    }