commit | abf29541e5d132e7c8e45ac16343bffbfc558be8 | [log] [tgz] |
---|---|---|
author | Dario Freni <dariofreni@google.com> | Mon Nov 08 13:58:33 2021 +0000 |
committer | Dario Freni <dariofreni@google.com> | Mon Nov 08 13:58:33 2021 +0000 |
tree | 2b99619b030c3eeea36205b09f1e6ea8bce727b7 | |
parent | 392062ab4489318e2785e75c0e35c4f49f54bc5c [diff] |
Detect system_ext provenance for APKs-in-APEX The previous code mistakenly attributes APKs contained in an APEX loaded to the system_ext partition as coming from the system partition. This affects, for example, where PackageManager expects the permission allowlist to be read from (e.g. /system_ext/etc/permissions/*.xml). Test: atest ApkInApexTests (in I4cec3fdf05f2ab1a3b5032870a74562aed53cb95) Change-Id: I690618727ebf9a61f07b3925b30e7631d33c4e8e