Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fc4e487 authored by Calin Juravle's avatar Calin Juravle Committed by Android Git Automerger
Browse files

am b0f59cdc: am 2f84b69b: Merge "Improved profile.start-immediately comment"

* commit 'b0f59cdc':
  Improved profile.start-immediately comment
parents 579ace03 b0f59cdc
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -820,7 +820,8 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
            mOptions.add(opt);
            mOptions.add(opt);
        }
        }


        // 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.
        property_get("dalvik.vm.profile.start-immediately", propBuf, "0");
        property_get("dalvik.vm.profile.start-immediately", propBuf, "0");
        if (propBuf[0] == '1') {
        if (propBuf[0] == '1') {
            opt.optionString = "-Xprofile-start-immediately";
            opt.optionString = "-Xprofile-start-immediately";