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

Commit 26141c3f authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

Extend sampling to packages targeted below R.

Test: manual verification
Bug: 143519689
Change-Id: I0fefd46552fa9d8a34ef78161c1a13c60419de26
parent d972846b
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;