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