diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 11 | ||||
-rw-r--r-- | res/xml/notification_settings.xml | 13 |
2 files changed, 23 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 9db8e8c..253638a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5934,6 +5934,9 @@ <!-- Sound & notification: Notification section header [CHAR LIMIT=30] --> <string name="notification_section_header">Notification</string> + <!-- Sound & notification: Advanced section header [CHAR LIMIT=30] --> + <string name="advanced_section_header">Advanced</string> + <!-- Sound & notification > Notification section: Title for the pulse notification light option. [CHAR LIMIT=30] --> <string name="notification_pulse_title">Pulse notification light</string> @@ -5999,7 +6002,7 @@ <!-- Sound & notification > Other sounds: Value for the emergency tone option with value 2: vibrate. [CHAR LIMIT=30] --> <string name="emergency_tone_vibrate">Vibrate</string> - <!-- Sound & notification > Notification section: Title for managing notification listeners option. [CHAR LIMIT=30] --> + <!-- Sound & notification > Advanced section: Title for managing notification listeners option. [CHAR LIMIT=30] --> <string name="manage_notification_access_title">Notification access</string> <!-- Summary of preference to manage notification listeners, when none are enabled --> @@ -6028,6 +6031,12 @@ to dismiss these notifications or touch action buttons within them. </string> + <!-- Sound & notification > Advanced section: Title for managing Do Not Disturb access option. [CHAR LIMIT=40] --> + <string name="manage_zen_access_title">Do Not Disturb access</string> + + <!-- Sound & notification > Do Not Disturb access > Text to display when the list is empty. [CHAR LIMIT=NONE] --> + <string name="zen_access_empty_text">No installed apps have requested Do Not Disturb access</string> + <!-- [CHAR LIMIT=NONE] Text when loading app list in notification settings --> <string name="loading_notification_apps">Loading apps...</string> diff --git a/res/xml/notification_settings.xml b/res/xml/notification_settings.xml index 7956a6d..72a189d 100644 --- a/res/xml/notification_settings.xml +++ b/res/xml/notification_settings.xml @@ -120,6 +120,12 @@ android:value="com.android.settings.Settings$NotificationAppListActivity" /> </PreferenceScreen> + </PreferenceCategory> + + <PreferenceCategory + android:key="advanced" + android:title="@string/advanced_section_header" > + <!-- Notification access --> <Preference android:key="manage_notification_access" @@ -127,6 +133,13 @@ android:persistent="false" android:fragment="com.android.settings.notification.NotificationAccessSettings" /> + <!-- Do Not Disturb access --> + <Preference + android:key="manage_zen_access" + android:title="@string/manage_zen_access_title" + android:persistent="false" + android:fragment="com.android.settings.notification.ZenAccessSettings" /> + </PreferenceCategory> </PreferenceScreen> |