Skip to content

Commit b0f6558

Browse files
Evan SeversonAndroid Build Coastguard Worker
authored andcommitted
Move startWatchingModeWithFlags to the native supported binder calls
Bug: 247768581 Test: Add logging to verify invocation (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b1f82ee37403e40513ef3b9e2657feb3871c4e71) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3dddd6bc6e7ac57de69df8f1e66e03fff822d3b9) Merged-In: I54eefca5f0aa4f924debc1817b04a103b6e8e2e6 Change-Id: I54eefca5f0aa4f924debc1817b04a103b6e8e2e6
1 parent 17f0869 commit b0f6558

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/java/com/android/internal/app/IAppOpsService.aidl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ interface IAppOpsService {
5252
int checkAudioOperation(int code, int usage, int uid, String packageName);
5353
boolean shouldCollectNotes(int opCode);
5454
void setCameraAudioRestriction(int mode);
55+
void startWatchingModeWithFlags(int op, String packageName, int flags,
56+
IAppOpsCallback callback);
5557
// End of methods also called by native code.
5658
// Any new method exposed to native must be added after the last one, do not reorder
5759

@@ -110,8 +112,6 @@ interface IAppOpsService {
110112
void startWatchingStarted(in int[] ops, IAppOpsStartedCallback callback);
111113
void stopWatchingStarted(IAppOpsStartedCallback callback);
112114

113-
void startWatchingModeWithFlags(int op, String packageName, int flags, IAppOpsCallback callback);
114-
115115
void startWatchingNoted(in int[] ops, IAppOpsNotedCallback callback);
116116
void stopWatchingNoted(IAppOpsNotedCallback callback);
117117

0 commit comments

Comments
 (0)