From 07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Thu, 4 Oct 2012 22:51:38 -0700 Subject: Increase default transceive timeout to SE to 30s. We've found that executing some APDU commands may take longer than the current timeout of 10 seconds. Increase default transceive timeout to the SE to 30 seconds. Bug: 7004303 Change-Id: I3e6855e79b7eceae9d2aa18b3f92c3efcdf4a9d6 --- src/com/android/nfc/NfcService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/nfc/NfcService.java b/src/com/android/nfc/NfcService.java index 3acfa1c..62512e5 100755 --- a/src/com/android/nfc/NfcService.java +++ b/src/com/android/nfc/NfcService.java @@ -1287,7 +1287,7 @@ public class NfcService extends Application implements DeviceHostListener { if (handle == 0) { throw new IOException("NFC EE failed to open"); } - mDeviceHost.setTimeout(TagTechnology.ISO_DEP, 10000); + mDeviceHost.setTimeout(TagTechnology.ISO_DEP, 30000); mOpenEe = new OpenSecureElement(getCallingPid(), handle, b); try { -- cgit v1.1