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

Commit 062b6453 authored by Sam Mortimer's avatar Sam Mortimer Committed by Michael Bestas
Browse files

Settings: Add back battery and notification lights settings

Change-Id: Ia5f635d2a493a859068af3d6b7502cc6d3db5893
parent 0124d892
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
-->

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:lineage="http://schemas.android.com/apk/res/lineageos.platform"
                  android:title="@string/configure_notification_settings"
                  android:key="configure_notification_settings">

@@ -46,6 +47,18 @@
        android:summary="@string/summary_placeholder"
        android:ringtoneType="notification" />

    <!-- Battery light -->
    <org.lineageos.internal.lineageparts.LineagePartsPreference
        android:key="battery_lights"
        lineage:requiresConfig="@*lineageos.platform:integer/config_deviceLightCapabilities"
        lineage:requiresConfigMask="64" />

    <!-- Notification lights -->
    <org.lineageos.internal.lineageparts.LineagePartsPreference
        android:key="notification_lights"
        lineage:requiresConfig="@*android:bool/config_intrusiveNotificationLed"
        lineage:replacesKey="notification_pulse" />

    <Preference
        android:key="gesture_swipe_down_fingerprint_notifications"
        android:title="@string/fingerprint_swipe_for_notifications_title"