Adding a label for the notifiation service
Bug: 72314360
Change-Id: Ib7ae98015241cf6548dbb4d615cae514a4dde983
diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml
index bb03f50..c24850d 100644
--- a/AndroidManifest-common.xml
+++ b/AndroidManifest-common.xml
@@ -87,9 +87,11 @@
android:process=":wallpaper_chooser"
android:permission="android.permission.BIND_JOB_SERVICE" />
- <service android:name="com.android.launcher3.notification.NotificationListener"
- android:enabled="@bool/notification_badging_enabled"
- android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
+ <service
+ android:name="com.android.launcher3.notification.NotificationListener"
+ android:label="@string/icon_badging_service_title"
+ android:enabled="@bool/notification_badging_enabled"
+ android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 381830c..d6abe22 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -191,6 +191,8 @@
<string name="msg_missing_notification_access">To show Notification Dots, turn on app notifications for <xliff:g id="name" example="My App">%1$s</xliff:g></string>
<!-- Button text in the confirmation dialog which would take the user to the system settings [CHAR LIMIT=50] -->
<string name="title_change_settings">Change settings</string>
+ <!-- Summary for Notification dots setting. Tapping this will link enable/disable notification dots feature on the home screen. [CHAR LIMIT=50] -->
+ <string name="icon_badging_service_title">Show notification dots</string>
<!-- Label for the setting that allows the automatic placement of launcher shortcuts for applications and games installed on the device [CHAR LIMIT=40] -->
<string name="auto_add_shortcuts_label">Add icon to Home screen</string>