Add setting for promoted (live) notifications
Add a switch to control whether live notifications are permitted for an app, at the top of the app's notification settings page. This controls canPostPromotedNotifications() for that app. Bug: 369150427 Flag: android.app.ui_rich_ongoing Test: manual, PromotedNotificationsPreferenceControllerTest Change-Id: I3a7c05721f1e879fb5fb0f5fb5f283dedbd195da
This commit is contained in:
@@ -8764,6 +8764,13 @@
|
||||
<!-- App Info > Notifications: Title for section where notifications bundles can be configured [CHAR LIMIT=80]-->
|
||||
<string name="notification_bundles">Notification bundles</string>
|
||||
|
||||
<!-- App Info > Notifications: Title for section controlling whether this app may show notifications in a promoted format [CHAR LIMIT=80] -->
|
||||
<string name="live_notifications">Live notifications</string>
|
||||
<!-- App Info > Notifications: Text on the switch to enable or disable an app from showing notifications in a live/promoted format [CHAR LIMIT=50] -->
|
||||
<string name="live_notifications_switch">Show live info</string>
|
||||
<!-- App Info > Notifications: Text accompanying the "Show live info" switch explaining the purpose of the setting -->
|
||||
<string name="live_notifications_desc">Pinned notifications display live info from apps, and always appear on the status bar and lock screen</string>
|
||||
|
||||
<!-- Configure Notifications: Title for the notification bubbles option. [CHAR LIMIT=60] -->
|
||||
<string name="notification_bubbles_title">Bubbles</string>
|
||||
<!-- Title for the toggle shown on the app-level bubbles page [CHAR LIMIT=60] -->
|
||||
|
||||
Reference in New Issue
Block a user