Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 066aca6f authored by Bruno Martins's avatar Bruno Martins Committed by Michael Bestas
Browse files

Settings: Allow devices to provide remote gesture preferences

 * Not all devices can use common gestures as implemented in LineageParts

Change-Id: Iae4ca9fc686e3dc82411524688841211e0cceb7b
parent 897be6f7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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>
+9 −0
Original line number Diff line number Diff line
@@ -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"