From f51f61269aacdfcf737b2c32b6b216c48ab61e65 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Mon, 4 Feb 2013 18:23:34 -0800 Subject: App ops: new operations for SMS. Implementation required a new framework feature to associate an app op with a broadcast. Change-Id: I4ff41a52f7ad4ee8fd80cbf7b394f04d6c4315b3 --- cmds/am/src/com/android/commands/am/Am.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmds/am') 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(); } -- cgit v1.1