Merge "Extend sampling to packages targeted below R." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2758c6a056
@@ -5853,10 +5853,6 @@ public class AppOpsService extends IAppOpsService.Stub {
|
|||||||
if (pkg == null) {
|
if (pkg == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (pkg.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.Q) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
String[] requestedPermissions = pkg.requestedPermissions;
|
String[] requestedPermissions = pkg.requestedPermissions;
|
||||||
if (requestedPermissions == null) {
|
if (requestedPermissions == null) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user