diff --git a/res/xml/zen_mode_people_settings.xml b/res/xml/zen_mode_people_settings.xml
index 140c2414aa4..1db438871be 100644
--- a/res/xml/zen_mode_people_settings.xml
+++ b/res/xml/zen_mode_people_settings.xml
@@ -25,6 +25,12 @@
android:key="zen_mode_settings_category_conversations"
android:title="@string/zen_mode_conversations_section_title">
+
+
+
buildPreferenceControllers(Context context,
- Lifecycle lifecycle, Application app, Fragment host, FragmentManager fragmentManager) {
+ Lifecycle lifecycle, Application app, Fragment host, FragmentManager fragmentManager,
+ NotificationBackend notificationBackend) {
List controllers = new ArrayList<>();
+ controllers.add(new ZenModeConversationsImagePreferenceController(context,
+ "zen_mode_conversations_image", lifecycle, notificationBackend));
controllers.add(new ZenModeConversationsPreferenceController(context,
"zen_mode_conversations", lifecycle));
controllers.add(new ZenModeCallsPreferenceController(context, lifecycle,
@@ -83,7 +88,8 @@ public class ZenModePeopleSettings extends ZenModeSettingsBase implements Indexa
@Override
public List createPreferenceControllers(
Context context) {
- return buildPreferenceControllers(context, null, null, null, null);
+ return buildPreferenceControllers(context, null, null, null,
+ null, null);
}
};
}