Merge "Allow non-system server code to AppOpsManager.checkOp and NoteOp" into rvc-dev am: 0237b4a504
Change-Id: I5c76ec6214a10969591ee984114359c08fe6f8f1
This commit is contained in:
@@ -2830,7 +2830,6 @@ public class AppOpsService extends IAppOpsService.Stub {
|
|||||||
|
|
||||||
private int checkOperationImpl(int code, int uid, String packageName,
|
private int checkOperationImpl(int code, int uid, String packageName,
|
||||||
boolean raw) {
|
boolean raw) {
|
||||||
verifyIncomingUid(uid);
|
|
||||||
verifyIncomingOp(code);
|
verifyIncomingOp(code);
|
||||||
String resolvedPackageName = resolvePackageName(uid, packageName);
|
String resolvedPackageName = resolvePackageName(uid, packageName);
|
||||||
if (resolvedPackageName == null) {
|
if (resolvedPackageName == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user