OSDN Git Service

Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change.
authorMartin Stjernholm <mast@google.com>
Fri, 20 Sep 2019 15:14:22 +0000 (16:14 +0100)
committerMartin Stjernholm <mast@google.com>
Fri, 20 Sep 2019 15:14:22 +0000 (16:14 +0100)
Test: Boot
Bug: 135753770
Change-Id: I930027fb0ad18d9d06165bbfbfe54d88bc28530d

core/jni/AndroidRuntime.cpp

index 7df621d..92ac95d 100644 (file)
@@ -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;
     }