OSDN Git Service

Move to dalvik.vm.lib.2 to force default to libart
authorBrian Carlstrom <bdc@google.com>
Wed, 28 May 2014 21:31:47 +0000 (14:31 -0700)
committerBrian Carlstrom <bdc@google.com>
Wed, 28 May 2014 21:31:47 +0000 (14:31 -0700)
Bug: 14298175
Change-Id: Id3892a32848fb22fbf4c2861218b51f68e830b34

cmds/installd/commands.c

index 70510a5..886fd3b 100644 (file)
@@ -692,7 +692,7 @@ int dexopt(const char *apk_path, uid_t uid, int is_public,
     }
 
     /* The command to run depend on the value of persist.sys.dalvik.vm.lib */
-    property_get("persist.sys.dalvik.vm.lib.1", persist_sys_dalvik_vm_lib, "libdvm.so");
+    property_get("persist.sys.dalvik.vm.lib.2", persist_sys_dalvik_vm_lib, "libart.so");
 
     /* Before anything else: is there a .odex file?  If so, we have
      * precompiled the apk and there is nothing to do here.