OSDN Git Service

Revert "Increase stylus data timeout."
authorMichael Wright <michaelwr@google.com>
Tue, 21 Apr 2015 21:37:02 +0000 (22:37 +0100)
committerMichael Wright <michaelwr@google.com>
Tue, 21 Apr 2015 21:37:02 +0000 (22:37 +0100)
This reverts commit 8b0673ce0ca97952d3ed9cb8912b31f367e41c0c.

services/inputflinger/InputReader.cpp

index 3e9f765..0e60d4d 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 constexpr nsecs_t EXTERNAL_STYLUS_DATA_TIMEOUT = ms2ns(72);
+static const nsecs_t EXTERNAL_STYLUS_DATA_TIMEOUT = ms2ns(32);
 
 // --- Static Functions ---