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

Commit 84d8b1de 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:...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17572141



Change-Id: I85f3af5bd3ca8ecd5d92c393577375244b943c15
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8562298b 3c876df1
Loading
Loading
Loading
Loading
+2 −1
Original line number 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
                // another process and normal dagger bindings are not available
                mBroadcastSender.closeSystemDialogs();
                mBroadcastSender.sendBroadcastAsUser(
                        new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS), UserHandle.CURRENT);
                getContext().startActivityAsUser(
                        CreateUserActivity.createIntentForStart(getContext()),
                        mUserTracker.getUserHandle());