Loading core/jni/AndroidRuntime.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -822,7 +822,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) // Whether the profile should start upon app startup or be delayed by some random offset // Whether the profile should start upon app startup or be delayed by some random offset // (in seconds) that is bound between 0 and a fixed value. // (in seconds) that is bound between 0 and a fixed value. property_get("dalvik.vm.profile.start-immediately", propBuf, "0"); property_get("dalvik.vm.profile.start-immed", propBuf, "0"); if (propBuf[0] == '1') { if (propBuf[0] == '1') { opt.optionString = "-Xprofile-start-immediately"; opt.optionString = "-Xprofile-start-immediately"; mOptions.add(opt); mOptions.add(opt); Loading Loading
core/jni/AndroidRuntime.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -822,7 +822,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) // Whether the profile should start upon app startup or be delayed by some random offset // Whether the profile should start upon app startup or be delayed by some random offset // (in seconds) that is bound between 0 and a fixed value. // (in seconds) that is bound between 0 and a fixed value. property_get("dalvik.vm.profile.start-immediately", propBuf, "0"); property_get("dalvik.vm.profile.start-immed", propBuf, "0"); if (propBuf[0] == '1') { if (propBuf[0] == '1') { opt.optionString = "-Xprofile-start-immediately"; opt.optionString = "-Xprofile-start-immediately"; mOptions.add(opt); mOptions.add(opt); Loading