New settings preference to swipe bottom for notification
Add new gesture toggle at:
Settings > System > Gesture > Swipe for notification
Bug: 154080211
Test: manual check Settings > System > Gesture > Swipe for notifications
Test: manual check it is disabled after One-handed mode toggled on
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationSettingsTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=\
"SwipeBottomToNotificationPreferenceControllerTest"
Change-Id: Iec18dfd323981ae7489d142b79c6035f3499eb91
diff --git a/res/xml/gestures.xml b/res/xml/gestures.xml
index 1569900..970ad21 100644
--- a/res/xml/gestures.xml
+++ b/res/xml/gestures.xml
@@ -34,6 +34,13 @@
settings:controller="com.android.settings.gestures.SwipeToNotificationPreferenceController" />
<Preference
+ android:key="gesture_swipe_bottom_to_notification"
+ android:title="@string/swipe_bottom_to_notifications_title"
+ android:fragment="com.android.settings.gestures.SwipeBottomToNotificationSettings"
+ settings:searchable="false"
+ settings:controller="com.android.settings.gestures.SwipeBottomToNotificationPreferenceController" />
+
+ <Preference
android:key="gesture_double_tap_power_input_summary"
android:title="@string/double_tap_power_for_camera_title"
android:fragment="com.android.settings.gestures.DoubleTapPowerSettings"