diff options
author | Martijn Coenen <maco@google.com> | 2012-10-01 14:05:56 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-01 14:05:56 -0700 |
commit | a3bf4c351001569dccfba5ab4ed019b2ec03ca9b (patch) | |
tree | 282919b41feedf02e1b460c9acf7f56edd1751f4 | |
parent | 717dc3ec10d938b81989e2e5f5153b87551468d3 (diff) | |
parent | 7379fb73a8e88720977604d62983706b3c4391bf (diff) | |
download | packages_apps_nfc-a3bf4c351001569dccfba5ab4ed019b2ec03ca9b.zip packages_apps_nfc-a3bf4c351001569dccfba5ab4ed019b2ec03ca9b.tar.gz packages_apps_nfc-a3bf4c351001569dccfba5ab4ed019b2ec03ca9b.tar.bz2 |
am 7379fb73: Merge "Fix native crash during RF field notifications." into jb-broadcom-nfc
* commit '7379fb73a8e88720977604d62983706b3c4391bf':
Fix native crash during RF field notifications.
-rwxr-xr-x | nci/jni/NativeNfcManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nci/jni/NativeNfcManager.cpp b/nci/jni/NativeNfcManager.cpp index 4ff03f7..6625842 100755 --- a/nci/jni/NativeNfcManager.cpp +++ b/nci/jni/NativeNfcManager.cpp @@ -571,7 +571,7 @@ void nfaDeviceManagementCallback (UINT8 dmEvent, tNFA_DM_CBACK_DATA* eventData) ALOGD ("%s: NFA_DM_RF_FIELD_EVT; status=0x%X; field status=%u", __FUNCTION__, eventData->rf_field.status, eventData->rf_field.rf_field_status); - if (eventData->rf_field.status == NFA_STATUS_OK) + if (!sIsDisabling && eventData->rf_field.status == NFA_STATUS_OK) SecureElement::getInstance().notifyRfFieldEvent (eventData->rf_field.rf_field_status == NFA_DM_RF_FIELD_ON); break; |