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

Commit f1af201b authored by Christophe Koessler's avatar Christophe Koessler Committed by android-build-merger
Browse files

DO NOT MERGE: Disable resume for guest session if user is ephemeral

am: 6f9fd448

Change-Id: I8c3c484566907e4b85e73b8408b9eca1e583140a
parents 5c6107ea 6f9fd448
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -111,7 +111,9 @@ public class UserSwitcherController implements Dumpable {
    public UserSwitcherController(Context context, KeyguardMonitor keyguardMonitor,
            @Named(MAIN_HANDLER_NAME) Handler handler, ActivityStarter activityStarter) {
        mContext = context;
        if (!UserManager.isGuestUserEphemeral()) {
            mGuestResumeSessionReceiver.register(context);
        }
        mKeyguardMonitor = keyguardMonitor;
        mHandler = handler;
        mActivityStarter = activityStarter;