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

Commit a4b0e6ae authored by Matt Pietal's avatar Matt Pietal
Browse files

Revert^2 "Remove temp user creation activity"

1bdc8afc

Change-Id: Ibd3d65cf215e76086f1e669eb71e984d28852350
parent d3b1abef
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -584,13 +584,6 @@ public class UserSwitcherController implements Dumpable {
                .setPackage(mCreateSupervisedUserPackage)
                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

        // TODO(b/209659998): [to-be-removed] fallback activity for supervised user creation.
        if (mContext.getPackageManager().resolveActivity(intent, 0) == null) {
            intent.setPackage(null)
                    .setClassName("com.android.settings",
                        "com.android.settings.users.AddSupervisedUserActivity");
        }

        mContext.startActivity(intent);
    }