diff options
author | Peter Wang <tpwang@google.com> | 2020-01-29 16:07:37 +0800 |
---|---|---|
committer | Peter Wang <tpwang@google.com> | 2020-02-26 15:58:33 -0800 |
commit | 2361687bec05a5298f73682f003e33e38c9c3137 (patch) | |
tree | 4fdaa01c8a16e5ab9d2bb082d2f329e58be6016a /test-mock | |
parent | 710401a657e742bfaf447c2fbeb366944b7f2fe7 (diff) |
[API Review] Expose sendOrderedBroadcast
with appOp as String and options as Bundle
Bug: 139077993
Bug: 146423958
Test: Build
Change-Id: I5325e08d60016741139251813a5df9b42f2efc82
Merged-In: I5325e08d60016741139251813a5df9b42f2efc82
Diffstat (limited to 'test-mock')
-rw-r--r-- | test-mock/src/android/test/mock/MockContext.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test-mock/src/android/test/mock/MockContext.java b/test-mock/src/android/test/mock/MockContext.java index 2c6604759813..784ee85fea34 100644 --- a/test-mock/src/android/test/mock/MockContext.java +++ b/test-mock/src/android/test/mock/MockContext.java @@ -17,7 +17,6 @@ package android.test.mock; import android.annotation.NonNull; -import android.annotation.Nullable; import android.annotation.SystemApi; import android.app.IApplicationThread; import android.app.IServiceConnection; @@ -480,10 +479,11 @@ public class MockContext extends Context { throw new UnsupportedOperationException(); } + /** @hide */ @Override - public void sendOrderedBroadcast(Intent intent, String receiverPermission, String receiverAppOp, - Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, - String initialData, Bundle initialExtras) { + public void sendOrderedBroadcast(Intent intent, int initialCode, String receiverPermission, + String receiverAppOp, BroadcastReceiver resultReceiver, Handler scheduler, + String initialData, Bundle initialExtras, Bundle options) { throw new UnsupportedOperationException(); } |