summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2021-06-22 11:16:51 -0700
committerSongchun Fan <schfan@google.com>2021-06-22 11:22:31 -0700
commitfece532bbff58db6539c116da3c650c356365301 (patch)
tree8031cb8b8d16ec663b8324e63a73a63388be12b6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbea8152724e108ec69fcbd93987e1f58620ef535 (diff)
[pm] drop non-APK paths from LoadedApk makePath
After the introduction of the uses-native-library tag, sharedLibraryFiles might contain native library names such as "lib_aion_buffer.so". The old method makePath in the LoadedApk class was looking for APK paths under the assumption that all the paths in sharedLibraryFiles are APK paths. Parsing on the results of makePaths could lead to app crashes because the results are not valid APK paths. This CL fixes that. BUG: 190787130 Test: manual Change-Id: I2b3d439f8edda7ef27e1106046cf8c0b88d755d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions