summaryrefslogtreecommitdiff
path: root/scripts/lint-project-xml.py
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2020-06-11 00:35:03 +0900
committer Jiyong Park <jiyong@google.com> 2020-06-11 09:47:16 +0900
commite26a63e2fd84206f8df10217a8bcab7916d8be52 (patch)
tree1b9b17e299d8e0152bb50c8d11422a19de9cc093 /scripts/lint-project-xml.py
parent829b7135f3d9b0287b03c01761da60cf2b194688 (diff)
Fix type assertion error regarding dex_import
Ida6f7bb784efe74cc1fa0e8d370eaee803f08b0f made it possible to add dex_import modules into apex, but that change had a bug. When creating Android.mk for the dex_import module, the code executed an unchecked type assertion to convert java.DexImport to java.Dependency, which cannot be successful. This change fixes the bug by doing a checked type assertion instead. Exempt-From-Owner-Approval: cp from AOSP Bug: 157886942 Test: m (test added) Merged-In: Id22c20d42effce539fab10b0d349bf340d467f02 (cherry picked from commit 9e83f0b5313b0500d4ab8ce2f727ff7cdea38505) Change-Id: Id22c20d42effce539fab10b0d349bf340d467f02
Diffstat (limited to 'scripts/lint-project-xml.py')
0 files changed, 0 insertions, 0 deletions