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

Commit 9d5411b1 authored by Michael Bestas's avatar Michael Bestas Committed by Abhisek Devkota
Browse files

Add toggle for heads up notifications

Change-Id: Ie2f50e3fac70268d1cf0c0cab6cd23d9aec7cdc7
parent 804fefae
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1206,4 +1206,9 @@
    <string name="preview_version_title">Version</string>
    <string name="preview_country_title">Country</string>
    <string name="preview_carrier_title">Carrier</string>

    <!-- Heads up -->
    <string name="heads_up_notifications">Heads up</string>
    <string name="summary_heads_up_enabled">Pop-up notifications are enabled</string>
    <string name="summary_heads_up_disabled">Pop-up notifications are disabled</string>
</resources>
+8 −1
Original line number Diff line number Diff line
@@ -16,6 +16,13 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Heads up -->
    <com.android.settings.cyanogenmod.GlobalSettingSwitchPreference
            android:key="heads_up_notifications_enabled"
            android:title="@string/heads_up_notifications"
            android:summaryOn="@string/summary_heads_up_enabled"
            android:summaryOff="@string/summary_heads_up_disabled" />

    <!-- When device is locked -->
    <com.android.settings.notification.DropDownPreference
            android:key="lock_screen_notifications"