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

Unverified Commit 7cb6fd98 authored by Jon Evans's avatar Jon Evans Committed by Michael Bestas
Browse files

Settings: display: Add wake on plug switch

Change-Id: I22ee2a05040561cca796814573adc5226f1f03d4
parent 199e4121
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -89,4 +89,8 @@
    <!-- Touchscreen hovering -->
    <string name="touchscreen_hovering_title">Touchscreen hovering</string>
    <string name="touchscreen_hovering_summary">Allows you to hover the screen like a mouse in web browsers, remote desktops, etc</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>
+7 −0
Original line number Diff line number Diff line
@@ -196,6 +196,13 @@
            android:defaultValue="@*lineageos.platform:bool/config_dt2sGestureEnabledByDefault"
            settings:requiresConfig="@*lineageos.platform:bool/config_dt2sGestureAvailable" />

        <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"
            settings:requiresConfig="@bool/config_show_top_level_battery" />

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