summaryrefslogtreecommitdiffstats
path: root/jni/com_android_nfc.cpp
diff options
context:
space:
mode:
authordoug yeager <doug@simplytapp.com>2012-08-23 10:28:04 -0500
committerdoug yeager <doug@simplytapp.com>2012-08-28 10:06:28 -0500
commit36c83c8e17e8500e2d68ed5b3342fa3de916df54 (patch)
treef32de9f00f440d78f9ad878b6e153c9387e0e690 /jni/com_android_nfc.cpp
parente926ef2bdf7a2e77bac3582b2e5b7413d1e080c4 (diff)
downloadpackages_apps_nfc-36c83c8e17e8500e2d68ed5b3342fa3de916df54.zip
packages_apps_nfc-36c83c8e17e8500e2d68ed5b3342fa3de916df54.tar.gz
packages_apps_nfc-36c83c8e17e8500e2d68ed5b3342fa3de916df54.tar.bz2
card emulation patch port to JB
Change-Id: I9d6ed9b15da69a346936cb4288c1cf5c7438ae87
Diffstat (limited to 'jni/com_android_nfc.cpp')
-rwxr-xr-x[-rw-r--r--]jni/com_android_nfc.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/jni/com_android_nfc.cpp b/jni/com_android_nfc.cpp
index d794d6e..c0e1993 100644..100755
--- a/jni/com_android_nfc.cpp
+++ b/jni/com_android_nfc.cpp
@@ -471,6 +471,18 @@ void nfc_jni_get_technology_tree(JNIEnv* e, phLibNfc_RemoteDevList_t* devList,
int handle = devList[target].hTargetDev;
switch (type)
{
+ case phNfc_eISO14443_A_PCD:
+ {
+ index = addTechIfNeeded(technologies, handles, libnfctypes, index,
+ MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4A_PCD, handle, type);
+ break;
+ }
+ case phNfc_eISO14443_B_PCD:
+ {
+ index = addTechIfNeeded(technologies, handles, libnfctypes, index,
+ MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4B_PCD, handle, type);
+ break;
+ }
case phNfc_eISO14443_A_PICC:
case phNfc_eISO14443_4A_PICC:
{