Skip to content
Commit 364e69b1 authored by Mohammad Samiul Islam's avatar Mohammad Samiul Islam
Browse files

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
parent 3ffedc45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment