OSDN Git Service

Fix issue #6706369: Sometimes the "App info" popup shows...
authorDianne Hackborn <hackbod@google.com>
Tue, 26 Jun 2012 23:39:02 +0000 (16:39 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 26 Jun 2012 23:39:02 +0000 (16:39 -0700)
commit7f3b379e995651a6ff76d02dddca87b3acdc157e
tree9b27d432bc1733dd425aaaac10ce29e5627791ae
parent9e608c12186d308fb1711e8824901fdf931a3a96
Fix issue #6706369: Sometimes the "App info" popup shows...

...even though I don't long press

When you start scrolling from a point between two notification
items, only the first down goes to SwipeHelper.onInterceptTouchEvent(),
and the following events go to SwipeHelper.onTouchEvent().  However
when we call SwipeHelper.onTouchEvent(), we immediately bail if we are
not in the drag state, so we never clear the pending long press event.

Bug: 6706369
Change-Id: Icc46fba62fe7ee334d8d62ac39195d7c3aeff705
packages/SystemUI/src/com/android/systemui/SwipeHelper.java