Change string of switchbar and installed service category title

Bug: 122897712
Test: Visual
Change-Id: I0f56b4b7375e651a74189dd17e6b3bd8b99ccfca
This commit is contained in:
Kevin Chang
2019-07-15 16:23:51 +08:00
parent ccf9715464
commit a6308c09a8
9 changed files with 68 additions and 13 deletions

View File

@@ -227,6 +227,13 @@ public class ToggleScreenMagnificationPreferenceFragment extends
mSwitchBar.removeOnSwitchChangeListener(this);
}
@Override
protected void updateSwitchBarText(SwitchBar switchBar) {
final String switchBarText = getString(R.string.accessibility_service_master_switch_title,
getString(R.string.accessibility_screen_magnification_title));
switchBar.setSwitchBarText(switchBarText, switchBarText);
}
@Override
protected void onProcessArguments(Bundle arguments) {
super.onProcessArguments(arguments);