summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnci/jni/NativeNfcTag.cpp2
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;
}