summaryrefslogtreecommitdiffstats
path: root/services/inputflinger/InputReader.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-04-21 22:45:13 +0100
committerMichael Wright <michaelwr@google.com>2015-04-21 22:45:13 +0100
commit5e17a5de888632c7e72171765bc70c8b9169f7ed (patch)
tree3eb71790e725f2532a89e3a684b25bcd8494222f /services/inputflinger/InputReader.cpp
parente2434fecb9650b64a24ad87cda3f32260d804bc1 (diff)
downloadframeworks_native-5e17a5de888632c7e72171765bc70c8b9169f7ed.zip
frameworks_native-5e17a5de888632c7e72171765bc70c8b9169f7ed.tar.gz
frameworks_native-5e17a5de888632c7e72171765bc70c8b9169f7ed.tar.bz2
Increase stylus data timeout.
Temporarily increase the stylus timeout while we figure out where the delay in BT information is coming from. Change-Id: I27ab5a4db4ad14358c6e6803961612420371fce9
Diffstat (limited to 'services/inputflinger/InputReader.cpp')
-rw-r--r--services/inputflinger/InputReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/InputReader.cpp b/services/inputflinger/InputReader.cpp
index 0e60d4d..c7d9503 100644
--- a/services/inputflinger/InputReader.cpp
+++ b/services/inputflinger/InputReader.cpp
@@ -71,7 +71,7 @@ static const size_t MAX_SLOTS = 32;
// Maximum amount of latency to add to touch events while waiting for data from an
// external stylus.
-static const nsecs_t EXTERNAL_STYLUS_DATA_TIMEOUT = ms2ns(32);
+static const nsecs_t EXTERNAL_STYLUS_DATA_TIMEOUT = ms2ns(72);
// --- Static Functions ---