Merge remote-tracking branch 'remotes/origin/caf/github/production/4.0.x'into ant.lnx.3.0

Change-Id: I80fe85126605733f3df42c6638b4f427d883a827
diff --git a/Android.mk b/Android.mk
index ed0adc5..e86b5c1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -34,6 +34,9 @@
 LOCAL_CERTIFICATE := platform
 LOCAL_MODULE_TAGS := optional
 LOCAL_PACKAGE_NAME := AntHalService
+ifeq ($(filter 8% O% o%,$(TARGET_PLATFORM_VERSION)),)
+LOCAL_SDK_VERSION := system_current
+endif
 LOCAL_SYSTEM_EXT_MODULE := true
 
 include $(BUILD_PACKAGE)
diff --git a/src/com/dsi/ant/core/JAntJava.java b/src/com/dsi/ant/core/JAntJava.java
index 836f320..2229418 100644
--- a/src/com/dsi/ant/core/JAntJava.java
+++ b/src/com/dsi/ant/core/JAntJava.java
@@ -36,7 +36,7 @@
     {
         try
         {
-            System.load("libantradio.so");
+            System.loadLibrary("antradio");
         }
         catch (Exception e)
         {