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

Commit bfcaf469 authored by Jon Evans's avatar Jon Evans Committed by Bruno Martins
Browse files

Settings: display: Add wake on plug switch

Change-Id: I22ee2a05040561cca796814573adc5226f1f03d4
parent cc08363e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -103,4 +103,8 @@
    <!-- 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>

    <!-- Wake on plug -->
    <string name="wake_when_plugged_or_unplugged_title">Wake on plug</string>
    <string name="wake_when_plugged_or_unplugged_summary">Turn the screen on when connecting or disconnecting a power source</string>
</resources>
+6 −0
Original line number Diff line number Diff line
@@ -177,6 +177,12 @@
            android:summary="@string/status_bar_double_tap_to_sleep_summary"
            android:defaultValue="true" />

        <lineageos.preference.LineageGlobalSettingSwitchPreference
            android:key="wake_when_plugged_or_unplugged"
            android:title="@string/wake_when_plugged_or_unplugged_title"
            android:summary="@string/wake_when_plugged_or_unplugged_summary"
            android:defaultValue="@*android:bool/config_unplugTurnsOnScreen" />

        <lineageos.preference.LineageSystemSettingSwitchPreference
            android:key="high_touch_sensitivity_enable"
            android:title="@string/high_touch_sensitivity_title"