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

Commit cacc13a4 authored by Michael Bestas's avatar Michael Bestas Committed by LuK1337
Browse files

Settings: Add toggle for heads up notifications

Change-Id: Ie2f50e3fac70268d1cf0c0cab6cd23d9aec7cdc7
parent 0ea993f7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -185,4 +185,8 @@

    <!-- Title for connected TWS device group [CHAR LIMIT=none]-->
    <string name="connected_tws_device_saved_title">Saved Earbuds</string>

    <!-- Heads-up -->
    <string name="heads_up_notifications_enabled_title">Heads-up</string>
    <string name="heads_up_notifications_enabled_summary">Display priority notifications in a small floating window</string>
</resources>
+6 −0
Original line number Diff line number Diff line
@@ -122,6 +122,12 @@
            lineage:requiresConfig="@*android:bool/config_intrusiveNotificationLed"
            lineage:replacesKey="notification_pulse" />

        <!-- Heads up -->
        <lineageos.preference.GlobalSettingSwitchPreference
            android:key="heads_up_notifications_enabled"
            android:title="@string/heads_up_notifications_enabled_title"
            android:summary="@string/heads_up_notifications_enabled_summary" />

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