Move to dalvik.vm.lib.2 to force default to libart
Bug: 14298175
(cherry picked from commit c4ac3124ffb51f13bb4206e9f8452a3712eb09cb)
Change-Id: I97cc3ff7a269e671b315afa8673dae43d1f86bf1
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index 70510a5..886fd3b 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -692,7 +692,7 @@
}
/* 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.