Revert "Remove duplicate strings."
Revert submission 19748582-settings_yesno Reason for revert: Common strings in English could be translated into different strings in other languages. Reverted changes: /q/submissionid:19748582-settings_yesno Bug: 272603842 Test: build and open Settings app Test: atest SettingsRoboTests Change-Id: Iaad301c5513478fb95e40987ea3ccb4f923d71fa
This commit is contained in:
@@ -109,7 +109,7 @@ public class AutoBrightnessPreferenceControllerTest {
|
||||
mController.setChecked(true);
|
||||
|
||||
assertThat(mController.getSummary())
|
||||
.isEqualTo(mContext.getText(R.string.on));
|
||||
.isEqualTo(mContext.getText(R.string.auto_brightness_summary_on));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -117,7 +117,7 @@ public class AutoBrightnessPreferenceControllerTest {
|
||||
mController.setChecked(false);
|
||||
|
||||
assertThat(mController.getSummary())
|
||||
.isEqualTo(mContext.getText(R.string.off));
|
||||
.isEqualTo(mContext.getText(R.string.auto_brightness_summary_off));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user