am 85be0c4e: Fix app ops aidl as it is also used from native.

* commit '85be0c4e21ba6a2b74a8546403c6da03a343e5aa':
  Fix app ops aidl as it is also used from native.
This commit is contained in:
Svet Ganov
2015-07-05 18:13:43 +00:00
committed by Android Git Automerger

View File

@@ -25,14 +25,14 @@ interface IAppOpsService {
// be kept in sync with frameworks/native/include/binder/IAppOpsService.h
int checkOperation(int code, int uid, String packageName);
int noteOperation(int code, int uid, String packageName);
int noteProxyOperation(int code, String proxyPackageName,
int callingUid, String callingPackageName);
int startOperation(IBinder token, int code, int uid, String packageName);
void finishOperation(IBinder token, int code, int uid, String packageName);
void startWatchingMode(int op, String packageName, IAppOpsCallback callback);
void stopWatchingMode(IAppOpsCallback callback);
IBinder getToken(IBinder clientToken);
int permissionToOpCode(String permission);
int noteProxyOperation(int code, String proxyPackageName,
int callingUid, String callingPackageName);
// Remaining methods are only used in Java.
int checkPackage(int uid, String packageName);