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

Commit 5db6252a authored by Zhao Wei Liew's avatar Zhao Wei Liew
Browse files

Settings: Add status bar tap to sleep pref to gestures

Moving this from CMParts.

Depends on change I593d4a4a912713ec0975609833682caedcaf0a37.

Change-Id: Id9dbf86927e79276773e2ec7c0007d2a1bc617a2
parent 5258f3cc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -448,4 +448,8 @@
    <string name="update_recovery_summary">Update the built-in recovery with system updates</string>
    <string name="update_recovery_on_warning">NOTICE: When this feature is enabled, your installed recovery will be replaced by one included with the current version of the running OS.\n\nYour recovery will be updated along with upgrades to your system, helping to ensure compatibility with future versions.\n\nWould you like to enable this feature?</string>
    <string name="update_recovery_off_warning">WARNING: When this feature is disabled, your installed recovery will not be updated with OS upgrades.\n\nFuture OS updates may not install with outdated or custom recovery versions.\n\nDo you really want to disable this feature?</string>

    <!-- Status bar - double tap to sleep -->
    <string name="status_bar_double_tap_to_sleep_title">Double-tap to sleep</string>
    <string name="status_bar_double_tap_to_sleep_summary">Double-tap on the status bar to turn off the display</string>
</resources>
+7 −0
Original line number Diff line number Diff line
@@ -59,4 +59,11 @@
        settings:animation="@raw/gesture_ambient_lift"
        settings:preview="@drawable/gesture_ambient_lift"/>

    <!-- Double tap to sleep -->
    <cyanogenmod.preference.CMSystemSettingSwitchPreference
        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" />

</PreferenceScreen>
 No newline at end of file