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

Commit 8aea81ac authored by Rashed Abdel-Tawab's avatar Rashed Abdel-Tawab Committed by Bruno Martins
Browse files

Settings: Add double tap to sleep preference

 * Place it under Display settings, near the existing
   double tap to wake preference.

Change-Id: I0baa49f9367331febf29260a0f60ba3a020be729
parent 79107ed6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -26,6 +26,10 @@
    <!-- Device Info screen. LineageOS legal. -->
    <string name="lineagelicense_title">LineageOS legal</string>

    <!-- Double tap to sleep on status bar or lockscreen -->
    <string name="status_bar_double_tap_to_sleep_title">Tap to sleep</string>
    <string name="status_bar_double_tap_to_sleep_summary">Double-tap on the status bar or lockscreen to turn off the display</string>

    <!-- Increasing ring tone volume -->
    <string name="increasing_ring_volume_option_title">Increasing ring volume</string>
    <string name="increasing_ring_min_volume_title">Start volume</string>
+7 −0
Original line number Diff line number Diff line
@@ -162,6 +162,13 @@
            android:title="@string/tap_to_wake"
            android:summary="@string/tap_to_wake_summary"/>

        <!-- Double tap to sleep -->
        <lineageos.preference.LineageSystemSettingSwitchPreference
            android:key="double_tap_sleep_gesture"
            android:title="@string/status_bar_double_tap_to_sleep_title"
            android:summary="@string/status_bar_double_tap_to_sleep_summary"
            android:defaultValue="true" />

        <ListPreference
            android:key="theme"
            android:title="@string/device_theme"