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

am: 9ab1318ca8

Change-Id: Ib153ffcb4012954950f8c1310a5f08efefecc91d
This commit is contained in:
Kevin Chyn
2017-05-02 04:14:47 +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, 0) Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 1)
== 1; == 1;
} }
} }