Update string in battery app info page
Change-Id: I78ce7499f10bb65d44865349738bf77300180867 Fixes: 73576591 Bugs: 73018395 Test: Manual
This commit is contained in:
@@ -4728,7 +4728,7 @@
|
|||||||
<string name="power_charge_remaining"><xliff:g id="until_charged">%1$s</xliff:g> to charge</string>
|
<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] -->
|
<!-- 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] -->
|
<!-- Summary for the background activity [CHAR_LIMIT=120] -->
|
||||||
<string name="background_activity_summary">Allow the app to run in the background</string>
|
<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] -->
|
<!-- Summary for the background activity when it is on [CHAR_LIMIT=120] -->
|
||||||
@@ -7755,9 +7755,9 @@
|
|||||||
<string name="encryption_interstitial_no">No</string>
|
<string name="encryption_interstitial_no">No</string>
|
||||||
|
|
||||||
<!-- Label to say yes to the question of whether app is restricted. [CHAR LIMIT=20] -->
|
<!-- 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] -->
|
<!-- 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] -->
|
<!-- Title for encryption dialog that disables TalkBack. [CHAR_LIMIT=25] -->
|
||||||
<string name="encrypt_talkback_dialog_require_pin">Require PIN?</string>
|
<string name="encrypt_talkback_dialog_require_pin">Require PIN?</string>
|
||||||
|
@@ -174,7 +174,7 @@ public class BackgroundActivityPreferenceControllerTest {
|
|||||||
|
|
||||||
mController.updateSummary(mPreference);
|
mController.updateSummary(mPreference);
|
||||||
|
|
||||||
assertThat(mPreference.getSummary()).isEqualTo("No");
|
assertThat(mPreference.getSummary()).isEqualTo("Off / Uses battery in background");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -184,7 +184,7 @@ public class BackgroundActivityPreferenceControllerTest {
|
|||||||
|
|
||||||
mController.updateSummary(mPreference);
|
mController.updateSummary(mPreference);
|
||||||
|
|
||||||
assertThat(mPreference.getSummary()).isEqualTo("Yes");
|
assertThat(mPreference.getSummary()).isEqualTo("On / Background usage restricted");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Reference in New Issue
Block a user