diff options
| author | 2023-05-11 15:27:58 +0100 | |
|---|---|---|
| committer | 2023-05-12 10:32:33 +0000 | |
| commit | 7a774a0acb9a2dedfb92416b59ea4c32864d3ac6 (patch) | |
| tree | 452d821211c0ba3f54b4e8d9a8cc10a5935644cb /libartbase/base/file_utils.cc | |
| parent | bd4a8d140e057d0b8d52e03ac962fcf70f83f84f (diff) | |
Make sure art_boot runs before odsign.
It's necessary to have the right dalvik.vm.* flags in place when they
are validated by odrefresh.
Test: Boot and verify that art_boot starts and finishes before odsign.
Test: adb root
adb shell setprop \
persist.device_config.runtime_native_boot.useartservice false
adb shell setprop \
persist.device_config.runtime_native_boot.disable_compact_dex \
true
adb reboot
- Check that dalvik.vm.useartservice=false (propagated by art_boot).
- Check that odrefresh has recorded dalvik.vm.useartservice=false and
persist.device_config.runtime_native_boot.disable_compact_dex=true
in /data/misc/apexdata/com.android.art/dalvik-cache/cache-info.xml.
(Changing the 2nd property is necessary to trigger odrefresh.)
Bug: 281850017
Ignore-AOSP-First: Will cherry-pick to AOSP later
Change-Id: If1e02731d47456e14ec8e038ce1ede4d5dae25f8
Diffstat (limited to 'libartbase/base/file_utils.cc')
0 files changed, 0 insertions, 0 deletions