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

Commit c77a548c 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 258fc94d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,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>

    <!-- Hostname setting -->
    <string name="device_hostname">Device hostname</string>

+7 −0
Original line number Diff line number Diff line
@@ -154,6 +154,13 @@
        android:defaultValue="false"
        lineage:requiresConfig="@*lineageos.platform:bool/config_proximityCheckOnWake" />

    <!-- 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"