summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Victor Hsieh <victorhsieh@google.com> 2022-12-12 10:47:55 -0800
committer Victor Hsieh <victorhsieh@google.com> 2022-12-12 11:34:51 -0800
commit8a111b8b0039690f2ce661e0964799d05f5efa3e (patch)
tree0e1ac6ef76ae6a2171aa36f9ea83b6d7d00de3f6 /services/coverage/java
parent3da5fbb2cf6a327da828835baf210e7c428c9003 (diff)
Fix preinstalled path of APEX
When package name of one APEX is a prefix of another, the binary transparency service may return the wrong preinstalled path and measurement. For example, preinstall path of com.android.media should not be /system/apex/com.android.media.swcodec.capex. Besides fixing the issue, the implementation is switched from iterating the /system/apex directory, to querying apexservice. This may give us vendor APEX for free, though I haven't been able to confirm yet. Bug: 262259909 Test: Diff `adb shell cmd transparency get apex_info -v` before and after. Saw the only change is the corrected pre-install path. Change-Id: Ib7cc87dee17091c379c679cd5bece49120077f54
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions