diff options
| author | 2023-05-11 15:27:58 +0100 | |
|---|---|---|
| committer | 2023-06-01 18:22:48 +0000 | |
| commit | d36df665cd24c16ce08ca280cd84f49a46af2026 (patch) | |
| tree | 25751d135f20bf2bb3bcd69cd27bb2f341b88dd9 /compiler/utils/assembler_test_base.h | |
| parent | 57d74a7f0bfd62ba3af2c09e3f366e520a6962b3 (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
Change-Id: If1e02731d47456e14ec8e038ce1ede4d5dae25f8
(cherry picked from commit 7a774a0acb9a2dedfb92416b59ea4c32864d3ac6)
Merged-In: If1e02731d47456e14ec8e038ce1ede4d5dae25f8
Diffstat (limited to 'compiler/utils/assembler_test_base.h')
0 files changed, 0 insertions, 0 deletions