summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2020-05-01 10:29:09 +0900
committer Baligh Uddin <baligh@google.com> 2020-05-01 13:13:13 +0000
commitf58fd52b1435b87b11539ab792b7651d10801231 (patch)
treebb65c15961004184eb014b51214a6df2b0dfbeb4 /tools/warn/java_warn_patterns.py
parent345baa7c98591766878e02a4546ded4a0c262e38 (diff)
Stem names are used in apkcerts.txt
_apkcerts_write_line has assumed that the stem name of a package is the same as the module of it. That assumption however breaks for APK-in-APEX, in which case the stem name is Foo while the module name is Foo.com.android.bar (where com.android.bar is the name of the APEX where the APK is in). Fixing the issue by recording the stem name and use it. Bug: 155440232 Test: OVERRIDE_TARGET_FLATTEN_APEX=true m apkcerts-list and check the generat4ed apkcerts txt file to see that it has Tethering.apk instead of Tethering.com.android.tethering.apex Change-Id: I56bc55e2231eb946617a9d6f97d55c9b61f3bff7
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions