Merge "Extend sampling to packages targeted below R." into rvc-dev

This commit is contained in:
Stanislav Zholnin
2020-04-05 13:32:59 +00:00
committed by Android (Google) Code Review

View File

@@ -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;