OSDN Git Service

All taps under max double tap timeout are quick taps
authorMatthew Ng <ngmatthew@google.com>
Sat, 29 Apr 2017 00:33:22 +0000 (17:33 -0700)
committerMatthew Ng <ngmatthew@google.com>
Mon, 1 May 2017 20:39:56 +0000 (20:39 +0000)
commitda3dd7c0cf1fcd7e352c8f9e30519e85776c5662
tree6f5e1e09256f024fc356ff4e49b8e4b61cde18cf
parenta08ba3ef31e135ded437b0ca6f83bfe77a31c33b
All taps under max double tap timeout are quick taps

When tapping rapidly on the overview button on a recents grid device
(like tablets), users might tap very quickly that would have triggered a
elasped time under the min double tap time (40ms) which would cause the
button to not be a quick tap. Removing the check allows all taps under
the max double tap timeout to be a quick tap. Then quickly tapping the
overview button would not confuse alt-tab with resume same task
functionality.

Test: manual
Change-Id: I9161fd5b68c299dc794e538a4fd9021ae98c7e94
Fixes: 36886408
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java