diff options
author | Narayan Kamath <narayan@google.com> | 2014-02-14 17:14:09 +0000 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-02-14 17:42:24 +0000 |
commit | 3d03e5b90d1ed0de9790ca814d55b454d37f6571 (patch) | |
tree | dca37f46bd334d2d68be349836a98b53a519e4d4 /core/jni/AndroidRuntime.cpp | |
parent | 24d8fa739b7ca0791174af260ed95cdc139e0903 (diff) | |
download | frameworks_base-3d03e5b90d1ed0de9790ca814d55b454d37f6571.zip frameworks_base-3d03e5b90d1ed0de9790ca814d55b454d37f6571.tar.gz frameworks_base-3d03e5b90d1ed0de9790ca814d55b454d37f6571.tar.bz2 |
Remove java.io.tmpdir assignment in AndroidRuntime.
This value is overridden by the framework anyway
(see ActivityThread.handleBindApplication). Besides,
it doesn't seem like a great idea to let tools clutter
/sdcard/ with temp files.
Change-Id: I26c710cbea7397f89e6103e54a73044a87da95b1
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
-rw-r--r-- | core/jni/AndroidRuntime.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 97ea5e6..b4599b6 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -760,13 +760,6 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) 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.options = mOptions.editArray(); initArgs.nOptions = mOptions.size(); |