Merge "reflect libbinder->libpermission: appops" am: 12d2d7fd9c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674207

Change-Id: Idf5634a8b157dba1ffd6ebe5fb748b4a727669b4
This commit is contained in:
Steven Moreland
2021-04-19 19:03:27 +00:00
committed by Automerger Merge Worker
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

@@ -32,7 +32,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);
int noteOperation(int code, int uid, String packageName, @nullable String attributionTag,

View File

@@ -76,6 +76,7 @@ cc_defaults {
"libcutils",
"libincfs",
"liblog",
"libpermission",
"libz",
"libziparchive",
],