From 7701f57250d6b0ba40840cfd2af8f65883668158 Mon Sep 17 00:00:00 2001 From: Peter Wang Date: Thu, 7 Nov 2019 16:57:23 -0800 Subject: [Telephony Mainline] Exposed sendOrderedBroadcast with appOp as String and options as Bundle Bug: 139077993 Test: Build, GsmInboundSmsHandlerTest, CdmaInboundSmsHandlerTest and WapPushOverSmsTest Change-Id: I60e21c7202d1bc7c5d28dfad2e2edde902f28a15 --- test-mock/src/android/test/mock/MockContext.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test-mock') 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 @@ -469,6 +469,13 @@ public class MockContext extends Context { throw new UnsupportedOperationException(); } + @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(); -- cgit v1.2.3