Fix the title mismatch bug of Languages sub-settings page.
- modify the title of Language sub-settings page. - remove the unused string id, pref_title_lang_selection. Change-Id: I445493f6769c9888a27b72471fc9282df3655406 Fixes: 111322494 Test: manual
This commit is contained in:
@@ -588,9 +588,6 @@
|
|||||||
<!-- Title for the locale picker activity -->
|
<!-- Title for the locale picker activity -->
|
||||||
<string name="language_picker_title">Languages</string>
|
<string name="language_picker_title">Languages</string>
|
||||||
|
|
||||||
<!-- Title for the language selection screen [CHAR LIMIT=25] -->
|
|
||||||
<string name="pref_title_lang_selection">Language preferences</string>
|
|
||||||
|
|
||||||
<!-- Menu item in the locale menu. Will remove the selected locales. [CHAR LIMIT=30] -->
|
<!-- Menu item in the locale menu. Will remove the selected locales. [CHAR LIMIT=30] -->
|
||||||
<string name="locale_remove_menu">Remove</string>
|
<string name="locale_remove_menu">Remove</string>
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ public class PhoneLanguagePreferenceController extends AbstractPreferenceControl
|
|||||||
new SubSettingLauncher(mContext)
|
new SubSettingLauncher(mContext)
|
||||||
.setDestination(LocaleListEditor.class.getName())
|
.setDestination(LocaleListEditor.class.getName())
|
||||||
.setSourceMetricsCategory(MetricsProto.MetricsEvent.SETTINGS_LANGUAGE_CATEGORY)
|
.setSourceMetricsCategory(MetricsProto.MetricsEvent.SETTINGS_LANGUAGE_CATEGORY)
|
||||||
.setTitleRes(R.string.pref_title_lang_selection)
|
.setTitleRes(R.string.language_picker_title)
|
||||||
.launch();
|
.launch();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user