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

Commit da466f72 authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by Android (Google) Code Review
Browse files

Merge "Fixed arguments order for addSharedAccountsFromParentUser" into nyc-dev

parents d17f96ae 4d709f99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -930,7 +930,7 @@ public final class Pm {
                // In non-split user mode, userId can only be SYSTEM
                int parentUserId = userId >= 0 ? userId : UserHandle.USER_SYSTEM;
                info = mUm.createRestrictedProfile(name, parentUserId);
                mAm.addSharedAccountsFromParentUser(userId, parentUserId);
                mAm.addSharedAccountsFromParentUser(parentUserId, userId);
            } else if (userId < 0) {
                info = mUm.createUser(name, flags);
            } else {