Merge "reflect libbinder->libpermission: appops"
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
package com.android.internal.app;
|
package com.android.internal.app;
|
||||||
|
|
||||||
// This interface is also used by native code, so must
|
// 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 {
|
oneway interface IAppOpsCallback {
|
||||||
void opChanged(int op, int uid, String packageName);
|
void opChanged(int op, int uid, String packageName);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import com.android.internal.app.MessageSamplingConfig;
|
|||||||
|
|
||||||
interface IAppOpsService {
|
interface IAppOpsService {
|
||||||
// These methods are also called by native code, so must
|
// 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
|
// and not be reordered
|
||||||
int checkOperation(int code, int uid, String packageName);
|
int checkOperation(int code, int uid, String packageName);
|
||||||
int noteOperation(int code, int uid, String packageName, @nullable String attributionTag,
|
int noteOperation(int code, int uid, String packageName, @nullable String attributionTag,
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ cc_defaults {
|
|||||||
"libcutils",
|
"libcutils",
|
||||||
"libincfs",
|
"libincfs",
|
||||||
"liblog",
|
"liblog",
|
||||||
|
"libpermission",
|
||||||
"libz",
|
"libz",
|
||||||
"libziparchive",
|
"libziparchive",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user