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

Commit a8eda25c authored by Yining Liu's avatar Yining Liu
Browse files

Add setting illustration to notification cooldown

Add setting illustration to notification cooldown (also known
as adaptive notification, notification avalanche).

Fix: 354048938
Flag: com.android.server.notification.polite_notifications
Test: Manual, Settings - Notifications - Notification cooldown
try with both light and dark mode

Change-Id: If8f5d22116f90d151a285dee6423d82e0edea638
parent d0333eb6
Loading
Loading
Loading
Loading
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+8 −8
Original line number Diff line number Diff line
@@ -17,20 +17,20 @@

<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:title="@string/notification_polite_title">

    <com.android.settingslib.widget.TopIntroPreference
        android:key="polite_notification_desc"
        android:title="@string/notification_polite_description"/>

<!--    TODO(b/330606963): add the illustration back when animation is ready-->
<!--    <com.android.settingslib.widget.IllustrationPreference-->
<!--        android:key="bubbles_illustration"-->
<!--        settings:searchable="false"-->
<!--        android:selectable="false"-->
<!--        app:lottie_rawRes="@raw/lottie_bubbles"-->
<!--        app:lottie_cacheComposition="false"-->
<!--        settings:dynamicColor="true" />-->
    <com.android.settingslib.widget.IllustrationPreference
        android:key="notification_cooldown_illustration"
        settings:searchable="false"
        android:selectable="false"
        app:lottie_rawRes="@raw/lottie_notification_cooldown"
        app:lottie_cacheComposition="false"
        settings:dynamicColor="true"/>

    <com.android.settingslib.widget.MainSwitchPreference
        android:key="polite_notification_global_pref"