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

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

Merge "Fix set-device-owner from shell for AAOS"

parents 8c828565 422e2418
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -7620,10 +7620,9 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                        + " as profile owner on user " + currentForegroundUser);
                // Sets profile owner on current foreground user since
                // the human user will complete the DO setup workflow from there.
                mInjector.binderWithCleanCallingIdentity(() ->
                manageUserUnchecked(/* deviceOwner= */ admin, /* profileOwner= */ admin,
                            /* managedUser= */ currentForegroundUser,
                                /* adminExtras= */ null));
                            /* adminExtras= */ null);
            }
            return true;
        }