diff options
| author | 2015-10-02 16:51:56 -0700 | |
|---|---|---|
| committer | 2015-10-02 16:51:56 -0700 | |
| commit | 008b932d9503ccdca02020e5ef03a5e7380a430f (patch) | |
| tree | 1fedd598750f5c1e14e2b6d1f65f1ab005d18a45 | |
| parent | 674be55852404a9defd2c7c6b002fc9a954a81e7 (diff) | |
Fix "pm list permissions GROUP"
The command wasn't parsing a group name correctly.
Change-Id: I966e56e2f7b3eab2531be6bec8f744735b865910
| -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 ebf508514b3c..393956f29948 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -624,7 +624,7 @@ public final class Pm { } } - String grp = nextOption(); + String grp = nextArg(); ArrayList<String> groupList = new ArrayList<String>(); if (groups) { List<PermissionGroupInfo> infos = |