Merge "Allow non-system server code to AppOpsManager.checkOp and NoteOp" am: ad70ff1e44
Change-Id: I013dd75459c646a3a40273b6e3881a3aa6daefc3
This commit is contained in:
@@ -1827,7 +1827,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