From 3cf75729d5a27b8ddd1ea174626dbcf0349a1d07 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Fri, 16 May 2014 12:37:29 -0700 Subject: Variant of sendBroadcast with appOp flag for cross-user. Needed for delivering SMS notifications to multiple users. Change-Id: Ib772292699aba37144621742e6f0ee5c68aadd78 --- .../src/com/android/layoutlib/bridge/android/BridgeContext.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools') 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 -- cgit v1.1