Merge "Add support for excluding tags from restrictions" into sc-dev am: fe40442304 am: b2ea76cc02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14503384 Change-Id: If836e070472cfe80f701313537abe5ab8dd43639
This commit is contained in:
@@ -92,7 +92,7 @@ interface IAppOpsService {
|
||||
void setAudioRestriction(int code, int usage, int uid, int mode, in String[] exceptionPackages);
|
||||
|
||||
void setUserRestrictions(in Bundle restrictions, IBinder token, int userHandle);
|
||||
void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in String[] exceptionPackages);
|
||||
void setUserRestriction(int code, boolean restricted, IBinder token, int userHandle, in Map<String, String[]> excludedPackageTags);
|
||||
void removeUser(int userHandle);
|
||||
|
||||
void startWatchingActive(in int[] ops, IAppOpsActiveCallback callback);
|
||||
@@ -113,7 +113,7 @@ interface IAppOpsService {
|
||||
void stopWatchingAsyncNoted(String packageName, IAppOpsAsyncNotedCallback callback);
|
||||
List<AsyncNotedAppOp> extractAsyncOps(String packageName);
|
||||
|
||||
int checkOperationRaw(int code, int uid, String packageName);
|
||||
int checkOperationRaw(int code, int uid, String packageName, @nullable String attributionTag);
|
||||
|
||||
void reloadNonHistoricalState();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user