Merge "Return more accurate errors for NfcEe.open."
diff --git a/Android.mk b/Android.mk
index 9aa7ee2..00062df 100644
--- a/Android.mk
+++ b/Android.mk
@@ -18,7 +18,7 @@
 
 LOCAL_STATIC_JAVA_LIBRARIES := NfcLogTags
 
-LOCAL_JNI_SHARED_LIBRARIES := libnfc_jni
+LOCAL_REQUIRED_MODULES  := libnfc_jni
 
 LOCAL_PROGUARD_ENABLED := disabled
 
@@ -43,7 +43,7 @@
 
 LOCAL_STATIC_JAVA_LIBRARIES := NfcLogTags
 
-LOCAL_JNI_SHARED_LIBRARIES := libnfc_nci_jni
+LOCAL_REQUIRED_MODULES  := libnfc_nci_jni
 
 LOCAL_PROGUARD_ENABLED := disabled