OSDN Git Service

Revert "Swipe for notification should be default-on in settings app"
authorKevin Chyn <kchyn@google.com>
Tue, 2 May 2017 04:23:31 +0000 (04:23 +0000)
committerKevin Chyn <kchyn@google.com>
Tue, 2 May 2017 06:49:17 +0000 (06:49 +0000)
This reverts commit a95c2c3a8d65d191260d4948a54eee1c74dac3fa.

Change-Id: I8fcc290be7d373d55058bd7c22f163d54fc03830

src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java

index 89d38a1..22b88fc 100644 (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, 1)
+                Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0)
                 == 1;
     }
 }