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

am: 19323ca297

Change-Id: I64d6590b9e757e99005ce7a3f9f01ad5fd11f5fe
This commit is contained in:
Kevin Chyn
2017-05-02 17:22:40 +00:00
committed by android-build-merger

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