Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-02 17:12:20 +00:00
committed by Android (Google) Code Review

View File

@@ -60,7 +60,7 @@ public class SwipeToNotificationPreferenceController extends GesturePreferenceCo
@Override @Override
protected boolean isSwitchPrefEnabled() { protected boolean isSwitchPrefEnabled() {
return Settings.Secure.getInt(mContext.getContentResolver(), return Settings.Secure.getInt(mContext.getContentResolver(),
Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 1) Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0)
== 1; == 1;
} }
} }