diff options
| author | 2024-01-19 22:39:10 +0000 | |
|---|---|---|
| committer | 2024-03-14 20:11:17 +0000 | |
| commit | a4e60b3bdd22bc2f3eedd3b669b2d2fb010fc71f (patch) | |
| tree | 72168fd1a41b2cbbe177013fbd381275fbcee266 /libs/androidfw/FileStream.cpp | |
| parent | ef5c4863367c1ed537a91c9e09f2af7e3ba8bf6f (diff) | |
Retire the dalvik.vm.useartservice system property.
Using the legacy dexopt implementation in PackageManager is no longer
an option in VIC. This removes most of the legacy code, with these
exceptions:
- OtaDexoptService is still in use, so keep the code it uses in
PackageDexOptimizer.
- LegacyDexoptDisabledException is kept for the code paths above. All
other uses of it are removed.
- DexOptHelper.performDexOptMode is used from vendor code, so keep it
for now. Also keep the code to convert legacy flags to ART Service
flags - this will be addressed in a later CL.
- DexManager and PackageDexUsage will be addressed in a later CL.
- More cleanups of unused code in Installer, DexOptHelper,
DexoptOptions, and various other places will be addressed in later
CLs.
Test: atest FrameworksServicesTests FrameworksMockingServicesTests
Test: m dist
system/update_engine/scripts/update_device.py \
out/dist/cf_x86_64_phone-ota-mast.zip
adb shell setprop persist.pm.mock-upgrade true
adb reboot
Bug: 258223472
Change-Id: I84b59331dcd1eee6ed2f61f734a6a635d2acdeb1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions