diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-03-29 11:20:19 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2016-03-29 11:20:19 -0700 |
commit | 4d709f998d5a13180d0ad6d9848456556129dabc (patch) | |
tree | c13e03f023b2ece2dd94a6e67338ee9012a74b76 /cmds/pm | |
parent | 174b140dfe30f9a926eefaf118c6ccdb6a0b493e (diff) |
Fixed arguments order for addSharedAccountsFromParentUser
Bug: 27900775
Change-Id: I8c48fabddb778bfd94333d4dcdd296fef87cb59a
Diffstat (limited to 'cmds/pm')
-rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java index 4025553b7674..d44a1df9301f 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -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 { |