OSDN Git Service

Prevent 2nd action down motionevent on nav bar press
authorMatthew Ng <ngmatthew@google.com>
Thu, 25 Jan 2018 01:01:08 +0000 (17:01 -0800)
committerMatthew Ng <ngmatthew@google.com>
Fri, 26 Jan 2018 22:08:53 +0000 (14:08 -0800)
commit0126d69858e7bec86e76345cb34f2ea6aa3aef75
tree536b3345f2b415b22344632cfdca130ce5830192
parentdf27ca11010d4819d15a1429a57e05dee3954459
Prevent 2nd action down motionevent on nav bar press

Since motions events are proxied to launcher on intercept and on touch,
when user touches it used to send both. Prevent the action down proxy
event onTouchEvent will only send one touch event if nothing else
handles it.

Bug: 67957962
Test: manual
Change-Id: Ia2a6bfe6cd963f9383a1468f5ba64dc28005a394
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java