Update string in battery app info page

Change-Id: I78ce7499f10bb65d44865349738bf77300180867
Fixes: 73576591
Bugs: 73018395
Test: Manual
This commit is contained in:
Lei Yu
2018-03-14 17:02:30 -07:00
parent 920548005b
commit 8d1e9fe6d6
2 changed files with 5 additions and 5 deletions

View File

@@ -4728,7 +4728,7 @@
<string name="power_charge_remaining"><xliff:g id="until_charged">%1$s</xliff:g> to charge</string>
<!-- Title for the background activity setting, which allows a user to control whether an app can run in the background [CHAR_LIMIT=40] -->
<string name="background_activity_title">Restricted</string>
<string name="background_activity_title">Battery restrictions</string>
<!-- Summary for the background activity [CHAR_LIMIT=120] -->
<string name="background_activity_summary">Allow the app to run in the background</string>
<!-- Summary for the background activity when it is on [CHAR_LIMIT=120] -->
@@ -7755,9 +7755,9 @@
<string name="encryption_interstitial_no">No</string>
<!-- Label to say yes to the question of whether app is restricted. [CHAR LIMIT=20] -->
<string name="restricted_true_label">Yes</string>
<string name="restricted_true_label">On / Background usage restricted</string>
<!-- Label to say no to the question of whether app is restricted. [CHAR LIMIT=20] -->
<string name="restricted_false_label">No</string>
<string name="restricted_false_label">Off / Uses battery in background</string>
<!-- Title for encryption dialog that disables TalkBack. [CHAR_LIMIT=25] -->
<string name="encrypt_talkback_dialog_require_pin">Require PIN?</string>

View File

@@ -174,7 +174,7 @@ public class BackgroundActivityPreferenceControllerTest {
mController.updateSummary(mPreference);
assertThat(mPreference.getSummary()).isEqualTo("No");
assertThat(mPreference.getSummary()).isEqualTo("Off / Uses battery in background");
}
@Test
@@ -184,7 +184,7 @@ public class BackgroundActivityPreferenceControllerTest {
mController.updateSummary(mPreference);
assertThat(mPreference.getSummary()).isEqualTo("Yes");
assertThat(mPreference.getSummary()).isEqualTo("On / Background usage restricted");
}
@Test