Merge "reflect libbinder->libpermission: appops" into sc-dev

This commit is contained in:
Steven Moreland
2021-04-20 00:24:08 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
package com.android.internal.app;
// This interface is also used by native code, so must
// be kept in sync with frameworks/native/libs/binder/include/binder/IAppOpsCallback.h
// be kept in sync with frameworks/native/libs/permission/include/binder/IAppOpsCallback.h
oneway interface IAppOpsCallback {
void opChanged(int op, int uid, String packageName);
}

View File

@@ -33,7 +33,7 @@ import com.android.internal.app.MessageSamplingConfig;
interface IAppOpsService {
// These methods are also called by native code, so must
// be kept in sync with frameworks/native/libs/binder/include/binder/IAppOpsService.h
// be kept in sync with frameworks/native/libs/permission/include/binder/IAppOpsService.h
// and not be reordered
int checkOperation(int code, int uid, String packageName);
SyncNotedAppOp noteOperation(int code, int uid, String packageName, @nullable String attributionTag,

View File

@@ -77,6 +77,7 @@ cc_defaults {
"libcutils",
"libincfs",
"liblog",
"libpermission",
"libz",
],
}