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

Commit 3c876df1 authored by Matt Pietal's avatar Matt Pietal Committed by Automerger Merge Worker
Browse files

Merge "User switcher - Fix adding user as non-system user" into tm-dev am: e10d88b6

parents 9b474ae5 e10d88b6
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1215,7 +1215,8 @@ public class UserSwitcherController implements Dumpable {
                }
                }
                // Use broadcast instead of ShadeController, as this dialog may have started in
                // Use broadcast instead of ShadeController, as this dialog may have started in
                // another process and normal dagger bindings are not available
                // another process and normal dagger bindings are not available
                mBroadcastSender.closeSystemDialogs();
                mBroadcastSender.sendBroadcastAsUser(
                        new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), UserHandle.CURRENT);
                getContext().startActivityAsUser(
                getContext().startActivityAsUser(
                        CreateUserActivity.createIntentForStart(getContext()),
                        CreateUserActivity.createIntentForStart(getContext()),
                        mUserTracker.getUserHandle());
                        mUserTracker.getUserHandle());