diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-03-26 16:15:41 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-03-27 12:01:52 -0700 |
commit | 3fa3c28a356108a6558b6b54a0b10e1a5cc4f1b6 (patch) | |
tree | 61426df0943f36d09ce0916e8c5f7647b2808db5 /cmds/pm/src | |
parent | b404ecc91a5dd3dd027554490b2ca18c1048bdba (diff) | |
download | frameworks_base-3fa3c28a356108a6558b6b54a0b10e1a5cc4f1b6.zip frameworks_base-3fa3c28a356108a6558b6b54a0b10e1a5cc4f1b6.tar.gz frameworks_base-3fa3c28a356108a6558b6b54a0b10e1a5cc4f1b6.tar.bz2 |
Keep track of who has disabled applications.
Change-Id: I2640d3dc2200b589e2beb42a43cc93efd090f06e
Diffstat (limited to 'cmds/pm/src')
-rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 3 |
1 files changed, 2 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 98c82b5..224945a 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -1218,7 +1218,8 @@ public final class Pm { ComponentName cn = ComponentName.unflattenFromString(pkg); if (cn == null) { try { - mPm.setApplicationEnabledSetting(pkg, state, 0, userId); + mPm.setApplicationEnabledSetting(pkg, state, 0, userId, + "shell:" + android.os.Process.myUid()); System.err.println("Package " + pkg + " new state: " + enabledSettingToString( mPm.getApplicationEnabledSetting(pkg, userId))); |