Snap for 9342863 from 80095fa001 to tm-qpr2-release

Change-Id: I0f2f80bb3b9250e92679f3a5e438ddf61d51706c
This commit is contained in:
Android Build Coastguard Worker
2022-11-29 00:29:55 +00:00
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,9 @@
android:layout="@layout/settings_entity_header" android:layout="@layout/settings_entity_header"
settings:allowDividerBelow="true"/> settings:allowDividerBelow="true"/>
<com.android.settings.widget.SettingsMainSwitchPreference
android:key="block" />
<!-- important conversation --> <!-- important conversation -->
<com.android.settings.notification.app.ConversationPriorityPreference <com.android.settings.notification.app.ConversationPriorityPreference
android:key="priority" android:key="priority"

View File

@@ -83,6 +83,7 @@ public class ConversationNotificationSettings extends NotificationSettings {
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
mControllers = new ArrayList<>(); mControllers = new ArrayList<>();
mControllers.add(new ConversationHeaderPreferenceController(context, this)); mControllers.add(new ConversationHeaderPreferenceController(context, this));
mControllers.add(new BlockPreferenceController(context, mDependentFieldListener, mBackend));
mControllers.add(new ConversationPriorityPreferenceController( mControllers.add(new ConversationPriorityPreferenceController(
context, mBackend, mDependentFieldListener)); context, mBackend, mDependentFieldListener));
mControllers.add(new HighImportancePreferenceController( mControllers.add(new HighImportancePreferenceController(