summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2014-06-11 18:21:41 +0100
committer Calin Juravle <calin@google.com> 2014-06-11 18:21:41 +0100
commit994cd28e723ecb6bf8ecab9809d9700e93a4b441 (patch)
tree6d744bd8dde9fc8158bc9ff0491c6b1e705a1e0d
parent3f967910d99254f166dea7e1439b6d5441f046d8 (diff)
Shrink profiler.start-immediately to fit in the maximum property size
Change-Id: I25f24f5e5b128aa6a300bdc1008427451bd9cecf
-rw-r--r--core/jni/AndroidRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp
index 987033f31e3a..1f6f4cdcac31 100644
--- a/core/jni/AndroidRuntime.cpp
+++ b/core/jni/AndroidRuntime.cpp
@@ -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
// (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') {
opt.optionString = "-Xprofile-start-immediately";
mOptions.add(opt);