am a79af364
: Merge "Remove java.io.tmpdir assignment in AndroidRuntime (again)."
* commit 'a79af3647f7f93825b84cc25187527b5aac60a69': Remove java.io.tmpdir assignment in AndroidRuntime (again).
This commit is contained in:
@ -817,13 +817,6 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
|
|||||||
mOptions.add(opt);
|
mOptions.add(opt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* We don't have /tmp on the device, but we often have an SD card. Apps
|
|
||||||
* shouldn't use this, but some test suites might want to exercise it.
|
|
||||||
*/
|
|
||||||
opt.optionString = "-Djava.io.tmpdir=/sdcard";
|
|
||||||
mOptions.add(opt);
|
|
||||||
|
|
||||||
initArgs.version = JNI_VERSION_1_4;
|
initArgs.version = JNI_VERSION_1_4;
|
||||||
initArgs.options = mOptions.editArray();
|
initArgs.options = mOptions.editArray();
|
||||||
initArgs.nOptions = mOptions.size();
|
initArgs.nOptions = mOptions.size();
|
||||||
|
Reference in New Issue
Block a user