summaryrefslogtreecommitdiffstats
path: root/cmds/am
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-02-04 18:23:34 -0800
committerDianne Hackborn <hackbod@google.com>2013-02-05 11:56:12 -0800
commitf51f61269aacdfcf737b2c32b6b216c48ab61e65 (patch)
tree33839b315b97323df81f9638c8bb085241f017cc /cmds/am
parentb86147910877f1aae0733f05a9a93b91101e67e2 (diff)
downloadframeworks_base-f51f61269aacdfcf737b2c32b6b216c48ab61e65.zip
frameworks_base-f51f61269aacdfcf737b2c32b6b216c48ab61e65.tar.gz
frameworks_base-f51f61269aacdfcf737b2c32b6b216c48ab61e65.tar.bz2
App ops: new operations for SMS.
Implementation required a new framework feature to associate an app op with a broadcast. Change-Id: I4ff41a52f7ad4ee8fd80cbf7b394f04d6c4315b3
Diffstat (limited to 'cmds/am')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 1c5f32e..3c1fbfe 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -614,8 +614,8 @@ public class Am {
Intent intent = makeIntent(UserHandle.USER_ALL);
IntentReceiver receiver = new IntentReceiver();
System.out.println("Broadcasting: " + intent);
- mAm.broadcastIntent(null, intent, null, receiver, 0, null, null, null, true, false,
- mUserId);
+ mAm.broadcastIntent(null, intent, null, receiver, 0, null, null, null,
+ android.app.AppOpsManager.OP_NONE, true, false, mUserId);
receiver.waitForFinish();
}