diff options
author | Amith Yamasani <yamasani@google.com> | 2014-05-16 12:37:29 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-05-16 12:37:29 -0700 |
commit | 3cf75729d5a27b8ddd1ea174626dbcf0349a1d07 (patch) | |
tree | b98f3379f0bab5c2d1484e8f38434e3240851796 /test-runner/src/android/test | |
parent | c9ee304c91b5572f0c1cd95e9bd1e4a84e28587d (diff) | |
download | frameworks_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 'test-runner/src/android/test')
-rw-r--r-- | test-runner/src/android/test/mock/MockContext.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java index 0d9cd18..c162bf2 100644 --- a/test-runner/src/android/test/mock/MockContext.java +++ b/test-runner/src/android/test/mock/MockContext.java @@ -350,7 +350,17 @@ public class MockContext extends Context { throw new UnsupportedOperationException(); } + /** @hide */ + @Override + public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, + String receiverPermission, int appOp, BroadcastReceiver resultReceiver, + Handler scheduler, + int initialCode, String initialData, Bundle initialExtras) { + throw new UnsupportedOperationException(); + } + @Override + public void sendStickyBroadcast(Intent intent) { throw new UnsupportedOperationException(); } |