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

Commit 0ccaa957 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix app visibility and typo in app op permission package list" into main

parents 68bcb22e 0e2e09ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1997,10 +1997,10 @@ class PermissionService(private val service: AccessCheckingService) :

        val permission = service.getState { with(policy) { getPermissions()[permissionName] } }
        if (permission == null || !permission.isAppOp) {
            packageNames.toTypedArray()
            return packageNames.toTypedArray()
        }

        packageManagerLocal.withUnfilteredSnapshot().use { snapshot ->
        packageManagerLocal.withFilteredSnapshot().use { snapshot ->
            snapshot.packageStates.forEach { (_, packageState) ->
                if (packageState.isApex) {
                    return@forEach