diff options
author | mike wakerly <mikey@google.com> | 2012-10-03 13:08:07 -0700 |
---|---|---|
committer | mike wakerly <mikey@google.com> | 2012-10-03 14:12:21 -0700 |
commit | 55b2c9109e15be7965dd7b4385e6a68e47167e09 (patch) | |
tree | f239c0bd1ac4342e77930a342e22fbcfb5009738 /nxp/src/com/android | |
parent | ef953e21ec44e2512ae2cae082d98cf8d492ef2a (diff) | |
download | packages_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 'nxp/src/com/android')
-rwxr-xr-x | nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java b/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java index 903cafa..dc6ea7c 100755 --- a/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java +++ b/nxp/src/com/android/nfc/dhimpl/NativeNfcManager.java @@ -43,6 +43,8 @@ public class NativeNfcManager implements DeviceHost { private static final String PREF_FIRMWARE_MODTIME = "firmware_modtime"; private static final long FIRMWARE_MODTIME_DEFAULT = -1; + static final String DRIVER_NAME = "nxp"; + static final int DEFAULT_LLCP_MIU = 128; static final int DEFAULT_LLCP_RWSIZE = 1; @@ -161,6 +163,11 @@ public class NativeNfcManager implements DeviceHost { } @Override + public String getName() { + return DRIVER_NAME; + } + + @Override public native void enableDiscovery(); @Override |