summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2014-05-16 12:37:29 -0700
committerAmith Yamasani <yamasani@google.com>2014-05-16 12:37:29 -0700
commit3cf75729d5a27b8ddd1ea174626dbcf0349a1d07 (patch)
treeb98f3379f0bab5c2d1484e8f38434e3240851796 /tools
parentc9ee304c91b5572f0c1cd95e9bd1e4a84e28587d (diff)
downloadframeworks_base-3cf75729d5a27b8ddd1ea174626dbcf0349a1d07.zip
frameworks_base-3cf75729d5a27b8ddd1ea174626dbcf0349a1d07.tar.gz
frameworks_base-3cf75729d5a27b8ddd1ea174626dbcf0349a1d07.tar.bz2
Variant of sendBroadcast with appOp flag for cross-user.
Needed for delivering SMS notifications to multiple users. Change-Id: Ib772292699aba37144621742e6f0ee5c68aadd78
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
index 08e9d99..bdf5561 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
@@ -1284,6 +1284,14 @@ public final class BridgeContext extends Context {
}
@Override
+ public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user,
+ String receiverPermission, int appOp, BroadcastReceiver resultReceiver,
+ Handler scheduler,
+ int initialCode, String initialData, Bundle initialExtras) {
+ // pass
+ }
+
+ @Override
public void sendStickyBroadcast(Intent arg0) {
// pass