Changes to the trigger segment
* Switch is always visible, even without a configuration activity * Custom icon, title, and summary for some mode types (such as SCHEDULE_TIME, etc). * Default texts in case of missing trigger description. * Different icons for having/missing configuration activity. * Move the section to the top of the screen. Bug: 349376785 Test: atest ZenModeTriggerLinkPreferenceControllerTest Flag: android.app.modes_ui Change-Id: I960318899cf4da20ffc5765818429d5790d05067
This commit is contained in:
@@ -8124,9 +8124,9 @@
|
||||
<!-- Do not disturb: Subtitle for the Visual signals option to toggle on/off visual signals/alerts when the screen is on/when screen is off. [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_visual_signals_settings_subtitle">Allow visual signals</string>
|
||||
|
||||
<!-- Do not disturb: mode page section title [CHAR LIMIT=80] -->
|
||||
<!-- Priority Modes: mode page section title [CHAR LIMIT=80] -->
|
||||
<string name="mode_interruption_filter_title">Stay focused</string>
|
||||
<!-- Do not disturb: mode page section title [CHAR LIMIT=80] -->
|
||||
<!-- Priority Modes: mode page section title [CHAR LIMIT=80] -->
|
||||
<string name="mode_device_effects_title">Additional actions</string>
|
||||
|
||||
<!-- Summary for the Sound Do not Disturb option when DND isn't currently on. [CHAR LIMIT=NONE]-->
|
||||
@@ -9483,6 +9483,19 @@
|
||||
<!-- Priority Modes: Hint for the EditText for editing a mode's name [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_edit_name_hint">Mode name</string>
|
||||
|
||||
<!-- Priority Modes: Trigger title for modes of type SCHEDULE_CALENDAR. [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_trigger_title_schedule_calendar">Calendar events</string>
|
||||
<!-- Priority Modes: Trigger title for modes of type BEDTIME. [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_trigger_title_bedtime">Sleep schedule</string>
|
||||
<!-- Priority Modes: Trigger title for modes of type DRIVING. [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_trigger_title_driving">While driving</string>
|
||||
<!-- Priority Modes: Generic trigger title for modes of other types [CHAR LIMIT=30] -->
|
||||
<string name="zen_mode_trigger_title_generic">Linked to app</string>
|
||||
<!-- Priority Modes: Generic trigger summary for modes where the owner app did not provide a triggerDescription but did provide a configurationActivity to call [CHAR LIMIT=60] -->
|
||||
<string name="zen_mode_trigger_summary_settings_in_app">Info and settings in <xliff:g id="app_name" example="The Awesome App">%1$s</xliff:g></string>
|
||||
<!-- Priority Modes: Generic trigger summary for modes where the owner app did not provide neither a triggerDescription nor a configurationActivity to call [CHAR LIMIT=60] -->
|
||||
<string name="zen_mode_trigger_summary_managed_by_app">Managed by <xliff:g id="app_name" example="The Awesome App">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Content description for help icon button [CHAR LIMIT=20] -->
|
||||
<string name="warning_button_text">Warning</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user