summaryrefslogtreecommitdiff
path: root/test-mock
diff options
context:
space:
mode:
author Jakub Pawlowski <jpawlowski@google.com> 2024-06-06 10:24:31 +0200
committer Jakub Pawlowski <jpawlowski@google.com> 2024-07-03 11:03:48 +0200
commit8616f66693e4cd90924bbbf13f9c079710c3cd80 (patch)
treee32ec8d3eff113702c820b7902adb9dfeeed0d12 /test-mock
parent4e40170304c97d54c4c890bf9cac83db20e3103f (diff)
Add Context.sendOrderedBroadcastMultiplePermissions
Flag: com.android.bluetooth.ordered_broadcast_multiple_permissions Test: mma -j68 Bug: 344915071 Merged-In: I8ecf003dc5e1babdbb4e104f548eef9d3562174e Change-Id: I8ecf003dc5e1babdbb4e104f548eef9d3562174e
Diffstat (limited to 'test-mock')
-rw-r--r--test-mock/src/android/test/mock/MockContext.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-mock/src/android/test/mock/MockContext.java b/test-mock/src/android/test/mock/MockContext.java
index cf38bea55f2c..6bf7ff501217 100644
--- a/test-mock/src/android/test/mock/MockContext.java
+++ b/test-mock/src/android/test/mock/MockContext.java
@@ -479,6 +479,15 @@ public class MockContext extends Context {
throw new UnsupportedOperationException();
}
+ /** @hide */
+ @Override
+ public void sendOrderedBroadcastAsUserMultiplePermissions(Intent intent, UserHandle user,
+ String[] receiverPermissions, int appOp, Bundle options,
+ BroadcastReceiver resultReceiver, Handler scheduler, int initialCode,
+ String initialData, Bundle initialExtras) {
+ throw new UnsupportedOperationException();
+ }
+
@Override
public void sendOrderedBroadcast(Intent intent, String receiverPermission,
String receiverAppOp, BroadcastReceiver resultReceiver, Handler scheduler,