commit | 85a8366a75041491a22928f65357c69d112c9925 | [log] [tgz] |
---|---|---|
author | Daniel Tomas <dtomas.nxp@gmail.com> | Thu Jun 16 16:16:10 2011 -0700 |
committer | Nick Pelly <npelly@google.com> | Mon Jun 20 15:09:40 2011 -0700 |
tree | 254de155ed2dc170a422e60a8bc80d6b51c8b4ce | |
parent | 84e1e0adc2516afd35ebab029a52e764e0490559 [diff] |
Set the transceive timeout to 10s when executeSeReset() is called Change-Id: Id89207194a87e918aee2493c8c0fa93a97a1ff4a
diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java index 6cb8dda..80cf018 100755 --- a/src/com/android/nfc/NfcService.java +++ b/src/com/android/nfc/NfcService.java
@@ -2109,10 +2109,14 @@ return; } + mManager.doSetIsoDepTimeout(10000); + for (byte[] cmd : apdus) { mSecureElement.doTransceive(handle, cmd); } + mManager.doResetIsoDepTimeout(); + mSecureElement.doDisconnect(handle); if (tempEnable) {