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

Commit 4d709f99 authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Fixed arguments order for addSharedAccountsFromParentUser

Bug: 27900775
Change-Id: I8c48fabddb778bfd94333d4dcdd296fef87cb59a
parent 174b140d
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 {