diff options
author | Peter Wang <tpwang@google.com> | 2019-11-07 16:57:23 -0800 |
---|---|---|
committer | Peter Wang <tpwang@google.com> | 2019-11-27 15:20:42 -0800 |
commit | 7701f57250d6b0ba40840cfd2af8f65883668158 (patch) | |
tree | ce1c1f447e3ffb47a5b2fa73c881c6bcf1e77359 /test-mock/src/android/test/mock/MockContext.java | |
parent | e8fe213c25b5cbbb99831d93d4bfb3dc1e648669 (diff) |
[Telephony Mainline] Exposed sendOrderedBroadcast
with appOp as String and options as Bundle
Bug: 139077993
Test: Build, GsmInboundSmsHandlerTest, CdmaInboundSmsHandlerTest and WapPushOverSmsTest
Change-Id: I60e21c7202d1bc7c5d28dfad2e2edde902f28a15
Diffstat (limited to 'test-mock/src/android/test/mock/MockContext.java')
-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 45b236c307c3..0208c3a0a0de 100644 --- a/test-mock/src/android/test/mock/MockContext.java +++ b/test-mock/src/android/test/mock/MockContext.java @@ -470,6 +470,13 @@ public class MockContext extends Context { } @Override + public void sendOrderedBroadcast(Intent intent, String receiverPermission, String receiverAppOp, + Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, + String initialData, Bundle initialExtras) { + throw new UnsupportedOperationException(); + } + + @Override public void sendStickyBroadcast(Intent intent) { throw new UnsupportedOperationException(); } |