diff options
author | Martijn Coenen <maco@google.com> | 2012-10-04 22:51:38 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2012-10-04 22:51:38 -0700 |
commit | 07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43 (patch) | |
tree | e747772f6fdac54fc2c0d0590c79f1c6ca5f59d0 | |
parent | c7d56f7e340c3c02359cac491e1a02156226975e (diff) | |
download | packages_apps_nfc-07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43.zip packages_apps_nfc-07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43.tar.gz packages_apps_nfc-07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43.tar.bz2 |
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
-rwxr-xr-x | src/com/android/nfc/NfcService.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |