From a0f8f13af4b42646391226b45fec8cc88194f2e5 Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Tue, 2 May 2017 10:25:19 -0700 Subject: [PATCH] Swipe for notification should be default-on in settings app Fixes: 37672954 Test: adb shell settings delete secure system_navigation_keys_enabled delete/toggle the setting above between null/0/1 Change-Id: I310bfbde3a7d4df58ebdec85d57c4d39ff4972e1 --- .../gestures/SwipeToNotificationPreferenceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java index 22b88fc15fd..89d38a1e149 100644 --- a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java +++ b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java @@ -60,7 +60,7 @@ public class SwipeToNotificationPreferenceController extends GesturePreferenceCo @Override protected boolean isSwitchPrefEnabled() { return Settings.Secure.getInt(mContext.getContentResolver(), - Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0) + Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 1) == 1; } }