Update InstallLocationUtils.calculateInstalledSize.
Before the change, the method called DexMetadataHelper.getPackageDexMetadataSize, to get the DM size. It was out-of-sync from ART, and prevents us from removing DexMetadataHelper, a file for the legacy dexopt. This CL uses a different way to calculate the size. Bug: 258223472 Test: atest CtsPackageInstallTestCases Flag: android.content.pm.alternative_for_dexopt_cleanup Change-Id: I0cfa204c06110e0d2017737e4498782e47c46e3c
Loading
Please register or sign in to comment