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

Skip to content
Commit f8299175 authored by Hai Zhang's avatar Hai Zhang
Browse files

Ignore APEX packages in UPS (i.e. in V+).

APEX packages aren't supposed to be able to declare permissions, and
they shouldn't have permission states either since they don't even have
app IDs (their PackageState.appId is -1). So within UPS we should just
ignore APEX packages.

Since we don't want to make a copy of the packageStates from
PackageManagerLocal, we can only manually skip the APEX packages during
iterations for now.

Bug: 301320911
Test: presubmit
Test: dumpsys permissionmgr
Change-Id: I10f89ddd386bb6a4d2ae62b8193014ad7679189a
parent de5b53d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment