summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMohammad Samiul Islam <samiul@google.com>2020-01-08 14:39:29 +0000
committerMohammad Samiul Islam <samiul@google.com>2020-01-13 12:42:19 +0000
commit364e69b11dd2c716279bba75230ec3155cb94ee7 (patch)
treed6648318ec53b7ff59ed48e34fc0e513f2ed1baf /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3ffedc45bc402b6da28e94a975092e55d6f23316 (diff)
Parse apk container of apex files using lite parser during boot
In order to enable rollback for apks inside apex, we need to figure out the apexModuleName of an apex session using apexPackageName. For that we need a mapping. Currently, we use populateAllPackagesCacheIfNeeded to create the mapping, but the above method fully parses the apex file which takes long time. In this CL, we optimize the parsing by using a lite parser to create the mapping. Bug: 142712057 Test: atest StagedRollbackTest#testRollbackApexWithApk Change-Id: Ia0e3c473268dc90ae20e934d910ecd67cfd8cb19
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions