From 55b2c9109e15be7965dd7b4385e6a68e47167e09 Mon Sep 17 00:00:00 2001 From: mike wakerly Date: Wed, 3 Oct 2012 13:08:07 -0700 Subject: NfcAdapterExtras: add driver name. Bug: 7276355 Change-Id: If2732afd542a68dc440308dae9eb76eb7ff31e25 --- nci/src/com/android/nfc/dhimpl/NativeNfcManager.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nci/src') 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 -- cgit v1.1