From 760400c61c41fdb0f9f461a43057139f81c6d2ad Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Wed, 9 Dec 2015 15:22:06 -0800 Subject: [PATCH] Enable swipe-from-navbar gesture by default Change-Id: Ic38a517c3c53838e3bdd2173a9d245f312136ad4 --- .../systemui/statusbar/phone/NavigationBarGestureHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java index a2616fe46efb5..d35e57b10c511 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarGestureHelper.java @@ -270,7 +270,7 @@ public class NavigationBarGestureHelper extends GestureDetector.SimpleOnGestureL public void onTuningChanged(String key, String newValue) { switch (key) { case KEY_DOCK_WINDOW_GESTURE: - mDockWindowEnabled = (newValue != null) && + mDockWindowEnabled = (newValue == null) || (Integer.parseInt(newValue) != 0); break; }