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
This commit is contained in:
Kevin Chyn
2017-05-02 10:25:19 -07:00
parent d361b734a5
commit a0f8f13af4

View File

@@ -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;
}
}