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

Commit e06c0d90 authored by András Kurucz's avatar András Kurucz Committed by Automerger Merge Worker
Browse files

Merge "Allow to block/unblock Conversation Notifications from Settings" into...

Merge "Allow to block/unblock Conversation Notifications from Settings" into tm-qpr-dev am: 80095fa0

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20551986



Change-Id: I1437a24ea8da6e36be62a2dab42307a24dc5e167
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f526772d 80095fa0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@
        android:layout="@layout/settings_entity_header"
        settings:allowDividerBelow="true"/>

    <com.android.settings.widget.SettingsMainSwitchPreference
        android:key="block" />

    <!-- important conversation -->
    <com.android.settings.notification.app.ConversationPriorityPreference
        android:key="priority"
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ public class ConversationNotificationSettings extends NotificationSettings {
    protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
        mControllers = new ArrayList<>();
        mControllers.add(new ConversationHeaderPreferenceController(context, this));
        mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend));
        mControllers.add(new ConversationPriorityPreferenceController(
                context, mBackend, mDependentFieldListener));
        mControllers.add(new HighImportancePreferenceController(