summaryrefslogtreecommitdiffstats
path: root/nci/src/com/android
diff options
context:
space:
mode:
authormike wakerly <mikey@google.com>2012-10-03 13:08:07 -0700
committermike wakerly <mikey@google.com>2012-10-03 14:12:21 -0700
commit55b2c9109e15be7965dd7b4385e6a68e47167e09 (patch)
treef239c0bd1ac4342e77930a342e22fbcfb5009738 /nci/src/com/android
parentef953e21ec44e2512ae2cae082d98cf8d492ef2a (diff)
downloadpackages_apps_nfc-55b2c9109e15be7965dd7b4385e6a68e47167e09.zip
packages_apps_nfc-55b2c9109e15be7965dd7b4385e6a68e47167e09.tar.gz
packages_apps_nfc-55b2c9109e15be7965dd7b4385e6a68e47167e09.tar.bz2
NfcAdapterExtras: add driver name.
Bug: 7276355 Change-Id: If2732afd542a68dc440308dae9eb76eb7ff31e25
Diffstat (limited to 'nci/src/com/android')
-rwxr-xr-xnci/src/com/android/nfc/dhimpl/NativeNfcManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/nci/src/com/android/nfc/dhimpl/NativeNfcManager.java b/nci/src/com/android/nfc/dhimpl/NativeNfcManager.java
index 921e266..dde0c08 100755
--- a/nci/src/com/android/nfc/dhimpl/NativeNfcManager.java
+++ b/nci/src/com/android/nfc/dhimpl/NativeNfcManager.java
@@ -38,6 +38,8 @@ public class NativeNfcManager implements DeviceHost {
static final int DEFAULT_LLCP_MIU = 1980;
static final int DEFAULT_LLCP_RWSIZE = 2;
+ static final String DRIVER_NAME = "android-nci";
+
static {
System.loadLibrary("nfc_nci_jni");
}
@@ -99,6 +101,11 @@ public class NativeNfcManager implements DeviceHost {
}
@Override
+ public String getName() {
+ return DRIVER_NAME;
+ }
+
+ @Override
public native void enableDiscovery();
@Override