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

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

Merge "ProfileSelectDialog no longer removes caller activity from task."

parents f1a04f3f b975c0e4
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -68,10 +68,8 @@ public class ProfileSelectDialog extends DialogFragment implements OnClickListen
    public void onClick(DialogInterface dialog, int which) {
        UserHandle user = mSelectedTile.userHandle.get(which);
        // Show menu on top level items.
        mSelectedTile.intent.putExtra(SettingsDrawerActivity.EXTRA_SHOW_MENU, true);
        mSelectedTile.intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
        getActivity().startActivityAsUser(mSelectedTile.intent, user);
        ((SettingsDrawerActivity) getActivity()).onProfileTileOpen();
    }

    public static void updateUserHandlesIfNeeded(Context context, Tile tile) {