Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2758c6a0 authored by Stanislav Zholnin's avatar Stanislav Zholnin Committed by Android (Google) Code Review
Browse files

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

parents f6edbe55 26141c3f
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -5853,10 +5853,6 @@ public class AppOpsService extends IAppOpsService.Stub {
        if (pkg == null) {
            return false;
        }
        if (pkg.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.Q) {
            return false;
        }

        String[] requestedPermissions = pkg.requestedPermissions;
        if (requestedPermissions == null) {
            return false;