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

Commit 7197a676 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: Ie91637943d773c9567d5d57b1a817a07251a4c5d
parents efd38005 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;