OSDN Git Service

Intercept touches in DeepShortcutContainer after moving beyond touch slop
authorTony Wickham <twickham@google.com>
Mon, 31 Oct 2016 18:57:16 +0000 (11:57 -0700)
committerTony Wickham <twickham@google.com>
Mon, 31 Oct 2016 20:32:26 +0000 (13:32 -0700)
commitd80ebdfd9fcd306b0465296d05f69c0b4ceced1e
treec40ee9c256b712031774c9acfcc813cb7292318e
parent37e4df17cb37b275cb6c36f00809d790d2c98a98
Intercept touches in DeepShortcutContainer after moving beyond touch slop

Otherwise it's possible for a long press to trigger when swiping
on a shortcut, which causes it to drag far away from the finger.

Bug: 32309824
Change-Id: I40bd5c1daac49d6edb59744083a1e23dcf4f0ce6
src/com/android/launcher3/shortcuts/DeepShortcutsContainer.java