summaryrefslogtreecommitdiffstats
path: root/cmds/am
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2014-09-11 16:46:33 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-11 16:46:34 +0000
commitf58e532e015ef31d879ee51aeeb251349784717c (patch)
tree8a1ab40c5c14943b12da70c5c70bbde48fc65bd1 /cmds/am
parentc96e3927657558f0d01626c252cf480624749120 (diff)
parent8cd28b57ed732656d002d97879e15c5695b54fff (diff)
downloadframeworks_base-f58e532e015ef31d879ee51aeeb251349784717c.zip
frameworks_base-f58e532e015ef31d879ee51aeeb251349784717c.tar.gz
frameworks_base-f58e532e015ef31d879ee51aeeb251349784717c.tar.bz2
Merge "Apply cross-user restrictions to Shell" into lmp-dev
Diffstat (limited to 'cmds/am')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 989b500..57c1505 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -855,7 +855,7 @@ public class Am extends BaseCommand {
}
private void sendBroadcast() throws Exception {
- Intent intent = makeIntent(UserHandle.USER_ALL);
+ Intent intent = makeIntent(UserHandle.USER_CURRENT);
IntentReceiver receiver = new IntentReceiver();
System.out.println("Broadcasting: " + intent);
mAm.broadcastIntent(null, intent, null, receiver, 0, null, null, mReceiverPermission,