diff --git a/res/values/strings.xml b/res/values/strings.xml
index 75884fade5e..137a86bbd3e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -8773,8 +8773,10 @@
Never
-
- Notification access
+
+ Device & app notifications
+
+ Control which notifications show on your apps and devices
@@ -8833,26 +8835,19 @@
Turn off
Cancel
Allowed notification types
- Important ongoing notifications
- Conversation notifications
- Alerting notifications
- Silent notifications
-
-
- Apps that are not bridged to this listener
-
-
- All apps are bridged
-
-
-
- - %d app is not bridged
- - %d apps are not bridged
-
+ Real-time
+ Real-time communication from apps in use, navigation, phone calls, and more
+ Conversations
+ SMS and other communications
+ Default
+ Notifications that may ring or vibrate based on settings
+ Silent
+ Notifications that never make sound or vibrations
- Bridged apps
+ See all apps
+ Change notification settings for each app that can send notifications
+ Apps shown on device
VR helper services
diff --git a/res/xml/configure_notification_settings_v2.xml b/res/xml/configure_notification_settings_v2.xml
index 902922087c6..b7cc2c86a0d 100644
--- a/res/xml/configure_notification_settings_v2.xml
+++ b/res/xml/configure_notification_settings_v2.xml
@@ -23,12 +23,14 @@
android:title="@string/conversation_notifs_category">
@@ -58,6 +61,7 @@
android:title="@string/lock_screen_notifications_title">
+
diff --git a/res/xml/notification_access_bridged_apps_settings.xml b/res/xml/notification_access_bridged_apps_settings.xml
index 590a468f07f..535a0401da6 100644
--- a/res/xml/notification_access_bridged_apps_settings.xml
+++ b/res/xml/notification_access_bridged_apps_settings.xml
@@ -19,7 +19,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res-auto"
android:key="nonbridged_apps"
- android:title="@string/notif_listener_excluded_app_title"
+ android:title="@string/notif_listener_excluded_app_screen_title"
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.BridgedAppsPreferenceController"
settings:searchable="false">
diff --git a/res/xml/notification_access_permission_details.xml b/res/xml/notification_access_permission_details.xml
index 0b764301153..c4bb7f069a5 100644
--- a/res/xml/notification_access_permission_details.xml
+++ b/res/xml/notification_access_permission_details.xml
@@ -34,27 +34,32 @@
diff --git a/src/com/android/settings/applications/specialaccess/notificationaccess/NotificationAccessDetails.java b/src/com/android/settings/applications/specialaccess/notificationaccess/NotificationAccessDetails.java
index 16aa07883e6..1ac578d8e3c 100644
--- a/src/com/android/settings/applications/specialaccess/notificationaccess/NotificationAccessDetails.java
+++ b/src/com/android/settings/applications/specialaccess/notificationaccess/NotificationAccessDetails.java
@@ -60,7 +60,6 @@ public class NotificationAccessDetails extends DashboardFragment {
private static final String TAG = "NotifAccessDetails";
private NotificationBackend mNm = new NotificationBackend();
- private NotificationListenerFilter mNlf;
private ComponentName mComponentName;
private CharSequence mServiceName;
protected ServiceInfo mServiceInfo;
@@ -157,13 +156,6 @@ public class NotificationAccessDetails extends DashboardFragment {
Preference apps = getPreferenceScreen().findPreference(
use(BridgedAppsPreferenceController.class).getPreferenceKey());
if (apps != null) {
- mNlf = mNm.getListenerFilter(mComponentName, mUserId);
- int nonBridgedCount = mNlf.getDisallowedPackages().size();
- apps.setSummary(nonBridgedCount == 0 ?
- getString(R.string.notif_listener_excluded_summary_zero)
- : getResources().getQuantityString(
- R.plurals.notif_listener_excluded_summary_nonzero,
- nonBridgedCount, nonBridgedCount));
apps.setOnPreferenceClickListener(preference -> {
final Bundle args = new Bundle();
@@ -174,7 +166,7 @@ public class NotificationAccessDetails extends DashboardFragment {
new SubSettingLauncher(getContext())
.setDestination(BridgedAppsSettings.class.getName())
.setSourceMetricsCategory(getMetricsCategory())
- .setTitleRes(R.string.notif_listener_excluded_app_title)
+ .setTitleRes(R.string.notif_listener_excluded_app_screen_title)
.setArguments(args)
.setUserHandle(UserHandle.of(mUserId))
.launch();