Update the battery string.
Remove the extra new line. Bug: 73018395 Test: RunSettingsRoboTests Change-Id: I48555c51ef49aabf1bfd98baa4682a21936bd48e
This commit is contained in:
@@ -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] -->
|
||||||
|
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user