OSDN Git Service

Support per-application switch to execute the VM in safe mode.
authorBen Cheng <bccheng@android.com>
Tue, 9 Feb 2010 00:03:42 +0000 (16:03 -0800)
committerBen Cheng <bccheng@android.com>
Wed, 10 Feb 2010 19:39:17 +0000 (11:39 -0800)
commitc4c0440626adc7db504bd34e6de140ea31c13f4b
treefcf2de791be31bf88edc2e1952b062e1685f9426
parent3e5cd17e4a0306dc976e1dc37b39d19dee4451a7
Support per-application switch to execute the VM in safe mode.

This is the implementation on the VM side to consume the android:safeMode=true
attribute and force the application to run in interpreter-only mode (the
current safe mode).

Bug: 2267583
libcore/dalvik/src/main/java/dalvik/system/Zygote.java
vm/native/dalvik_system_Zygote.c