Add PackageState#getApexModuleName
Tracks the name of the APEX module for both APEX and APK-in-APEX PackageStates. This involves inferring the module name from the ActiveApexInfo associated with each APEX scan partition. This is set on each APK found in that parition and also set on disabled settings for a package where the APK-in-APEX has been updated to a /data variant. The test also validates that clearing the APEX from the system image will also un-associate the apexModuleName, since it downgrades the package to a regular non-system, non-APK-in-APEX /data package. Also adds a package dump --include-apex option to print APEX PackageStates like any other regular APK. Bug: 261913353 Test: atest ApexUpdateTest Change-Id: Ic2806a4df8eac4843d9d3358a349b3d335a7455b
Loading
Please register or sign in to comment