diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-03-30 22:37:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-03-30 22:37:37 +0000 |
commit | 3f7fa3be86e9e3dc3530b368852c8bf74e564eda (patch) | |
tree | e7ab098d69d09e2b8fa3e4ce579d7fdc30f7ce58 | |
parent | 7baa5212c24f283fad1eda53d6ef0fd01f1501db (diff) | |
parent | da466f72727a06c71735c35acd70d5b8b284c8be (diff) |
Merge "Fixed arguments order for addSharedAccountsFromParentUser" into nyc-dev
am: da466f7
* commit 'da466f72727a06c71735c35acd70d5b8b284c8be':
Fixed arguments order for addSharedAccountsFromParentUser
Change-Id: I6b568dc352282bda8e68ddf1b88303e4f158092a
-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 { |