From 275376f9e469a9e014d82978ba3b8d57fe4a7739 Mon Sep 17 00:00:00 2001 From: Jeff Hamilton Date: Wed, 20 Apr 2011 16:37:09 -0500 Subject: Better logging on SE open failure. If the secure element connection fails to open due to an external RF field being detected it's now logged to make debugging easier. Bug: 4304698 Change-Id: Iea6e23968ee18d4f99e7ecbbf1b60b7c1688f5b6 --- jni/com_android_nfc_NativeNfcSecureElement.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jni/com_android_nfc_NativeNfcSecureElement.cpp') diff --git a/jni/com_android_nfc_NativeNfcSecureElement.cpp b/jni/com_android_nfc_NativeNfcSecureElement.cpp index b6e936c..c8b7037 100755 --- a/jni/com_android_nfc_NativeNfcSecureElement.cpp +++ b/jni/com_android_nfc_NativeNfcSecureElement.cpp @@ -257,7 +257,8 @@ static jint com_android_nfc_NativeNfcSecureElement_doOpenSecureElementConnection if(mask_value == 0x40) { - TRACE("External RF Field detected"); + // There is an external RF field present, fail the open request + LOGD("Unable to open SE connection, external RF Field detected"); goto clean_and_return; } -- cgit v1.1