commit | a95c2c3a8d65d191260d4948a54eee1c74dac3fa | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Mon May 01 13:28:35 2017 -0700 |
committer | Kevin Chyn <kchyn@google.com> | Mon May 01 13:28:35 2017 -0700 |
tree | fa95ed9743a88ae9fabc9ad7d6af49e8308c7f8b | |
parent | 0cdade8a78d92a4f67e0cb4c90c7f3a3147f86a5 [diff] |
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: Ia8f5665136ebae1fcc8f77d839a507ab9be7c1da
diff --git a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java index 22b88fc..89d38a1 100644 --- a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java +++ b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java
@@ -60,7 +60,7 @@ @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; } }