Update VMRuntime.isBootClassPathOnDisk()...
... for the new boot image location specification.
In particular, use only the first component and, if there is
no path, use path from the first boot class path component.
Test: aosp_taimen-userdebug boots
Test: adb root && \
adb shell stop && \
adb shell setprop dalvik.vm.boot-image \
'boot.art:boot-framework.art' &&
adb shell start # Starts correctly.
Test: adb root && \
adb shell stop && \
adb shell setprop dalvik.vm.boot-image \
'boot.art:/system/framework/boot-framework.art' &&
adb shell start # Starts correctly.
Bug: 119868597
Change-Id: Ifae2a005b7c6b8625d744eca2df763e3f6f5d0fb
3 files changed