Settings: Allow devices to provide remote gesture preferences
* Not all devices can use common gestures as implemented in LineageParts Change-Id: Iae4ca9fc686e3dc82411524688841211e0cceb7b
This commit is contained in:
committed by
Michael Bestas
parent
fe928c3843
commit
5df9be2540
@@ -55,4 +55,8 @@
|
||||
<!-- Navigation bar hint -->
|
||||
<string name="show_navbar_hint_title">Navigation hint</string>
|
||||
<string name="show_navbar_hint_summary">Show navigation hint bar at the bottom of the screen</string>
|
||||
|
||||
<!-- Touchscreen gesture settings -->
|
||||
<string name="touchscreen_gesture_settings_title">Touchscreen gestures</string>
|
||||
<string name="touchscreen_gesture_settings_summary">Perform various touchscreen gestures for quick actions</string>
|
||||
</resources>
|
||||
|
||||
@@ -24,6 +24,15 @@
|
||||
android:key="touchscreen_gesture_settings"
|
||||
settings:requiresFeature="lineagehardware:FEATURE_TOUCHSCREEN_GESTURES" />
|
||||
|
||||
<lineageos.preference.RemotePreference
|
||||
android:key="device_touchscreen_gesture_settings"
|
||||
android:title="@string/touchscreen_gesture_settings_title"
|
||||
android:summary="@string/touchscreen_gesture_settings_summary"
|
||||
settings:replacesKey="touchscreen_gesture_settings"
|
||||
settings:requiresFeature="lineagehardware:FEATURE_TOUCHSCREEN_GESTURES">
|
||||
<intent android:action="org.lineageos.settings.device.GESTURE_SETTINGS" />
|
||||
</lineageos.preference.RemotePreference>
|
||||
|
||||
<Preference
|
||||
android:key="gesture_swipe_down_fingerprint_input_summary"
|
||||
android:title="@string/fingerprint_swipe_for_notifications_title"
|
||||
|
||||
Reference in New Issue
Block a user