OSDN Git Service

Lower tap timeout to 100ms, because 180ms is a lot of ms
authorAlan Viverette <alanv@google.com>
Mon, 17 Mar 2014 22:33:05 +0000 (15:33 -0700)
committerAlan Viverette <alanv@google.com>
Mon, 17 Mar 2014 23:16:33 +0000 (16:16 -0700)
Change-Id: I708848480544825474785e0918feba70c1089090

core/java/android/view/ViewConfiguration.java

index e67659c..5112b9a 100644 (file)
@@ -80,7 +80,7 @@ public class ViewConfiguration {
      * is a tap or a scroll. If the user does not move within this interval, it is
      * considered to be a tap.
      */
-    private static final int TAP_TIMEOUT = 180;
+    private static final int TAP_TIMEOUT = 100;
 
     /**
      * Defines the duration in milliseconds we will wait to see if a touch event