From 1e14e961676cd79f1e3013380eadce2a4b00a9e0 Mon Sep 17 00:00:00 2001 From: Matthew Ng Date: Thu, 3 May 2018 12:51:43 -0700 Subject: Allow gestures to executed started from deadzone on nav bar Set slippery to true when gesture starts from deadzone and when finished set slippery to its correct state. Change-Id: I035d12f9639ce4af00db9e0d25b514f074b5198c Fixes: 78886558 Test: swipe up from deadzone on nav bar (just above home button) --- .../statusbar/phone/NavigationBarView.java | 27 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java index 6cc96da96e45..2fac13641405 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java @@ -124,6 +124,7 @@ public class NavigationBarView extends FrameLayout implements PluginListener