diff options
author | Martijn Coenen <maco@google.com> | 2012-09-11 12:26:00 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-11 12:26:01 -0700 |
commit | bd233c444ac568b408880e5d5578500ef4c0578c (patch) | |
tree | e0f98e0477539f5bb75bc11b950784c76e71342e /nci/jni | |
parent | a960b02cc3f830d7e8dfc2a5b929aec5a23c7bab (diff) | |
parent | 643bf71c665fd08b5a5cd367a8baa2da52116c64 (diff) | |
download | packages_apps_nfc-bd233c444ac568b408880e5d5578500ef4c0578c.zip packages_apps_nfc-bd233c444ac568b408880e5d5578500ef4c0578c.tar.gz packages_apps_nfc-bd233c444ac568b408880e5d5578500ef4c0578c.tar.bz2 |
Merge "User proper error code during tag reading" into jb-broadcom-nfc
Diffstat (limited to 'nci/jni')
-rwxr-xr-x | nci/jni/NativeNfcTag.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nci/jni/NativeNfcTag.cpp b/nci/jni/NativeNfcTag.cpp index b4b517b..d4281ce 100755 --- a/nci/jni/NativeNfcTag.cpp +++ b/nci/jni/NativeNfcTag.cpp @@ -857,7 +857,7 @@ static jbyteArray nativeNfcTag_doTransceive (JNIEnv *e, jobject o, jbyteArray da { ALOGE ("%s: wait response timeout", __FUNCTION__); if (targetLost) - *targetLost = 2; //causes NFC service to throw IOException + *targetLost = 1; //causes NFC service to throw TagLostException break; } |