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

Commit e78b3d3f authored by Jigar Thakkar's avatar Jigar Thakkar Committed by Android (Google) Code Review
Browse files

Merge "Fix user starts by using startProfile" into udc-dev

parents b8beeb1c ee0c8371
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -104,7 +104,7 @@ public class CloneBackend {
                        new HashSet<>());
            } catch (Exception e) {
                if (ManageApplications.DEBUG) {
                    Log.e("ankita", "Error occurred creating clone user" + e.getMessage());
                    Log.e(TAG, "Error occurred creating clone user" + e.getMessage());
                }
                return ERROR_CREATING_CLONE_USER;
            }
@@ -125,7 +125,7 @@ public class CloneBackend {
            if (newlyCreated) {
                IActivityManager am = ActivityManagerNative.getDefault();
                try {
                    am.startUserInBackground(mCloneUserId);
                    am.startProfile(mCloneUserId);
                } catch (RemoteException e) {
                    if (ManageApplications.DEBUG) {
                        Log.e(TAG, "Error starting clone user " + e.getMessage());