OSDN Git Service

Allow quickscrub after deadzone consumes touch
authorMatthew Ng <ngmatthew@google.com>
Thu, 14 Jun 2018 22:16:55 +0000 (15:16 -0700)
committerMatthew Ng <ngmatthew@google.com>
Thu, 21 Jun 2018 22:09:21 +0000 (15:09 -0700)
commit472d3e4898b513441b5c9d5a171933f01c7895da
tree98a83f43bbdbd34cf7895b91ba2ff36ab2d4204d
parenta063da83f1e57fdea9fa36858181dd66c7080656
Allow quickscrub after deadzone consumes touch

Moved deadzone detection to QuickScrubController so that quick scrub can
still occur. If anything is consumed by deadzone, no other touches will
occur however quickscrub can be detected and function with launcher. No
other events except for touch down will be sent to launcher.

Test: scrub right above the home button
Change-Id: I4b4e7a8eacf8fe38d8644116a526c175adaba790
Fixes: 80536498
packages/SystemUI/shared/src/com/android/systemui/shared/system/NavigationBarCompat.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickStepController.java