Add a setting to enable or disable corner invocation of assistant app

This setting allows the user to disable the bottom corner swipe gesture when they have system navigation set to corner gestures.

Bug: 179673792
Test: Verified on a physical device
      Ran robolectric unit tests for gesture settings package
Change-Id: Ib4e818e884c36ddfafaf4e8c75d81e01a13a5831
This commit is contained in:
Jernej Virag
2021-05-11 14:52:27 +00:00
parent 3a55bed8a1
commit 089aed8bb8
4 changed files with 196 additions and 0 deletions

View File

@@ -23,6 +23,20 @@
android:title="@string/gesture_settings_activity_title"
settings:keywords="@string/keywords_gesture_navigation_settings">
<PreferenceCategory
android:key="assistant_gesture_category"
android:persistent="false"
android:title="@string/assistant_gesture_category_title">
<SwitchPreference
android:key="assistant_gesture_corner_swipe"
android:title="@string/assistant_corner_gesture_title"
android:summary="@string/assistant_corner_gesture_summary"
settings:controller="com.android.settings.gestures.GestureNavigationSettingsAssistController"
/>
</PreferenceCategory>
<PreferenceCategory
android:key="back_sensitivity_category"
android:persistent="false"