OSDN Git Service

Increase stylus data timeout.
authorMichael Wright <michaelwr@google.com>
Tue, 21 Apr 2015 21:45:13 +0000 (22:45 +0100)
committerMichael Wright <michaelwr@google.com>
Tue, 21 Apr 2015 21:45:13 +0000 (22:45 +0100)
Temporarily increase the stylus timeout while we figure out where the
delay in BT information is coming from.

Change-Id: I27ab5a4db4ad14358c6e6803961612420371fce9

services/inputflinger/InputReader.cpp

index 0e60d4d..c7d9503 100644 (file)
@@ -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 ---