Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 065913b5 authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

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
parent 4549869e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment