Merge "Update the battery string." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-04-02 01:33:28 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -5053,7 +5053,7 @@
<!-- Message for battery tip dialog to show the info to restrict the app [CHAR LIMIT=NONE] --> <!-- Message for battery tip dialog to show the info to restrict the app [CHAR LIMIT=NONE] -->
<string name="battery_tip_restrict_app_dialog_message">To save battery, stop <xliff:g id="app">%1$s</xliff:g> from using battery in the background. This app may not work properly and notifications may be delayed.</string> <string name="battery_tip_restrict_app_dialog_message">To save battery, stop <xliff:g id="app">%1$s</xliff:g> from using battery in the background. This app may not work properly and notifications may be delayed.</string>
<!-- Message for battery tip dialog to show the info to restrict the app, below it app list will be shown as a view [CHAR LIMIT=NONE] --> <!-- Message for battery tip dialog to show the info to restrict the app, below it app list will be shown as a view [CHAR LIMIT=NONE] -->
<string name="battery_tip_restrict_apps_less_than_5_dialog_message">To save battery, stop these apps from using battery in the background. Restricted apps may not work properly and notifications may be delayed.\n\nApps:\n</string> <string name="battery_tip_restrict_apps_less_than_5_dialog_message">To save battery, stop these apps from using battery in the background. Restricted apps may not work properly and notifications may be delayed.\n\nApps:</string>
<!-- Message for battery tip dialog to show the info to restrict the app, below it app list will be shown as raw string[CHAR LIMIT=NONE] --> <!-- Message for battery tip dialog to show the info to restrict the app, below it app list will be shown as raw string[CHAR LIMIT=NONE] -->
<string name="battery_tip_restrict_apps_more_than_5_dialog_message">To save battery, stop these apps from using battery in the background. Restricted apps may not work properly and notifications may be delayed.\n\nApps:\n<xliff:g id="app_list">%1$s</xliff:g>.</string> <string name="battery_tip_restrict_apps_more_than_5_dialog_message">To save battery, stop these apps from using battery in the background. Restricted apps may not work properly and notifications may be delayed.\n\nApps:\n<xliff:g id="app_list">%1$s</xliff:g>.</string>
<!-- OK button for battery tip dialog to show the restrict app list [CHAR LIMIT=NONE] --> <!-- OK button for battery tip dialog to show the restrict app list [CHAR LIMIT=NONE] -->

View File

@@ -151,7 +151,7 @@ public class BatteryTipDialogFragmentTest {
.isEqualTo( .isEqualTo(
"To save battery, stop these apps from using battery in the background. " "To save battery, stop these apps from using battery in the background. "
+ "Restricted apps may not work properly and notifications may be" + "Restricted apps may not work properly and notifications may be"
+ " delayed.\n\nApps:\n"); + " delayed.\n\nApps:");
assertThat(shadowDialog.getView()).isNotNull(); assertThat(shadowDialog.getView()).isNotNull();
} }