Swipe for notification should be default-on in settings app
Fixes: 37672954 Test: adb shell settings delete secure system_navigation_keys_enabled delete/toggle the setting above between null/0/1 Change-Id: Ia8f5665136ebae1fcc8f77d839a507ab9be7c1da
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user