Fix Mifare Classic Transaction Fail issue

Send error response to application if transaction failed.

Bug: 73799586
Bug: 75270911
Test: test Mifare Classic card with TagInfo
Change-Id: Ie408b8c0af88d7c8c1f6f8ec729bda0b3a837e09
diff --git a/nci/jni/NativeNfcTag.cpp b/nci/jni/NativeNfcTag.cpp
index ebc0fcc..4b815aa 100644
--- a/nci/jni/NativeNfcTag.cpp
+++ b/nci/jni/NativeNfcTag.cpp
@@ -973,10 +973,9 @@
         if (EXTNS_CheckMfcResponse(&transData, &transDataLen) ==
             NFCSTATUS_FAILED) {
           nativeNfcTag_doReconnect(e, o);
-        } else {
-          if (transDataLen != 0) {
-            result.reset(e->NewByteArray(transDataLen));
-          }
+        }
+        if (transDataLen != 0) {
+          result.reset(e->NewByteArray(transDataLen));
           if (result.get() != NULL) {
             e->SetByteArrayRegion(result.get(), 0, transDataLen,
                                   (const jbyte*)transData);