summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-10-04 22:51:38 -0700
committerMartijn Coenen <maco@google.com>2012-10-04 22:51:38 -0700
commit07d1b6ea9f46d7118103cd0821ef7c86bfa9ee43 (patch)
treee747772f6fdac54fc2c0d0590c79f1c6ca5f59d0 /src
parentc7d56f7e340c3c02359cac491e1a02156226975e (diff)
downloadpackages_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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/nfc/NfcService.java2
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 {