diff options
| author | 2019-09-24 10:52:54 -0700 | |
|---|---|---|
| committer | 2019-09-24 10:52:54 -0700 | |
| commit | 59bcfb47fe47b06ca8fc0f18baceec6e763fd1cc (patch) | |
| tree | 0308798f81f53a9186c4c502633a7124f73bd714 | |
| parent | af1f91a133da9816dc590e058d2f2d4c4af39683 (diff) | |
| parent | 80fd44500cb4c72b504512b45cac8742ccff7db5 (diff) | |
Merge "Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change."
am: 80fd44500c
Change-Id: Ib9d3e3b8c0159d04e28c3501ef214779dc4a1262
| -rw-r--r-- | core/jni/AndroidRuntime.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 7df621daea13..92ac95d4cf07 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -1163,9 +1163,9 @@ void AndroidRuntime::start(const char* className, const Vector<String8>& options setenv("ANDROID_ROOT", rootDir, 1); } - const char* runtimeRootDir = getenv("ANDROID_RUNTIME_ROOT"); - if (runtimeRootDir == NULL) { - LOG_FATAL("No runtime directory specified with ANDROID_RUNTIME_ROOT environment variable."); + const char* artRootDir = getenv("ANDROID_ART_ROOT"); + if (artRootDir == NULL) { + LOG_FATAL("No ART directory specified with ANDROID_ART_ROOT environment variable."); return; } |