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

Commit 40e30782 authored by Sam Mortimer's avatar Sam Mortimer Committed by Luca Stefani
Browse files

Settings: Add back battery and notification lights settings

Change-Id: Ia5f635d2a493a859068af3d6b7502cc6d3db5893
parent feedd278
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"
                  xmlns:settings="http://schemas.android.com/apk/res-auto"
                  android:title="@string/configure_notification_settings"
                  android:key="configure_notification_settings">
@@ -102,6 +103,18 @@
            android:title="@string/notification_pulse_title"
            settings:controller="com.android.settings.notification.PulseNotificationPreferenceController"/>

        <!-- 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" />

        <!-- Default notification ringtone -->
        <com.android.settings.DefaultRingtonePreference
            android:key="notification_default_ringtone"