Skip to content

Commit

Permalink
Increase long press timeout to 1500ms
Browse files Browse the repository at this point in the history
Since 1500ms is the longest long press timeout that Android 4.1
(CM10) normally allows, I'll try that here and see if it suffices.
1000ms definitely won't (based on what I witnessed in person of
my problematic user's approach to using an iPhone & iPad).

My gut feeling is that 1500ms won't be enough, but I think I'll
give sanity a chance first.
  • Loading branch information
barrykn committed Aug 14, 2012
1 parent 1a1b23f commit 0e201a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/java/android/view/ViewConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class ViewConfiguration {
* Defines the duration in milliseconds before a press turns into
* a long press
*/
private static final int LONG_PRESS_TIMEOUT = 500;
private static final int LONG_PRESS_TIMEOUT = 1500;

/**
* Defines the duration in milliseconds a user needs to hold down the
Expand Down

0 comments on commit 0e201a5

Please sign in to comment.