diff options
author | Jordan Liu <jminjie@google.com> | 2019-11-04 19:59:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-11-04 19:59:28 +0000 |
commit | 08a94a223684764b5998c18c74549a6fe359bcc6 (patch) | |
tree | d05874e46ec7fb7920539833457948a194c2953d /test-mock | |
parent | dc51e5ef21dc7fb801e68250a65c0714b25c5169 (diff) | |
parent | a32e6fcb037e3a176eb7a2c5a93f08979075eaf0 (diff) |
Merge "Expose Context.sendOrderedBroadcast with appop"
Diffstat (limited to 'test-mock')
-rw-r--r-- | test-mock/src/android/test/mock/MockContext.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-mock/src/android/test/mock/MockContext.java b/test-mock/src/android/test/mock/MockContext.java index a95b6f11e98a..727684eca7ea 100644 --- a/test-mock/src/android/test/mock/MockContext.java +++ b/test-mock/src/android/test/mock/MockContext.java @@ -463,6 +463,13 @@ public class MockContext extends Context { } @Override + public void sendOrderedBroadcast(Intent intent, String receiverPermission, + String receiverAppOp, BroadcastReceiver resultReceiver, Handler scheduler, + int initialCode, String initialData, Bundle initialExtras) { + throw new UnsupportedOperationException(); + } + + @Override public void sendStickyBroadcast(Intent intent) { throw new UnsupportedOperationException(); } |