diff --git a/res/xml/configure_notification_settings_v2.xml b/res/xml/configure_notification_settings_v2.xml index a0d2dabdc84..17033126711 100644 --- a/res/xml/configure_notification_settings_v2.xml +++ b/res/xml/configure_notification_settings_v2.xml @@ -25,6 +25,7 @@ android:key="conversations" android:order="1" android:title="@string/conversations_category_title" + android:summary=" " settings:controller="com.android.settings.notification.ConversationListSummaryPreferenceController" android:fragment="com.android.settings.notification.app.ConversationListSettings" /> @@ -44,12 +45,18 @@ diff --git a/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java b/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java index c71a26aaede..87d25dd5cad 100644 --- a/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java +++ b/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java @@ -149,6 +149,9 @@ public class RecentNotifyingAppsPreferenceController extends AbstractPreferenceC @VisibleForTesting void refreshUi(Context prefContext) { + ((PrimarySwitchPreference) mCategory.findPreference(KEY_PLACEHOLDER + 1)).setChecked(true); + ((PrimarySwitchPreference) mCategory.findPreference(KEY_PLACEHOLDER + 2)).setChecked(true); + ((PrimarySwitchPreference) mCategory.findPreference(KEY_PLACEHOLDER + 3)).setChecked(true); ThreadUtils.postOnBackgroundThread(() -> { reloadData(); final List recentApps = getDisplayableRecentAppList();