Merge "Revert "Swipe for notification should be default-on in settings app"" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f1f35ee107
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user