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

Commit 603161aa authored by Bruno Martins's avatar Bruno Martins
Browse files

Settings: Allow to hide and disable status bar DT2S gesture

Devices with external display and no power button should not allow
screen to be powered off.

Change-Id: I23dfe2f03d0319ea1f6ddd013b02b6bb8a54a945
parent 7f2c6093
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -189,7 +189,8 @@
            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" />
            android:defaultValue="@*lineageos.platform:bool/config_dt2sGestureEnabledByDefault"
            settings:requiresConfig="@*lineageos.platform:bool/config_dt2sGestureAvailable" />

        <lineageos.preference.LineageGlobalSettingSwitchPreference
            android:key="wake_when_plugged_or_unplugged"