Fix Network details title not being translated.
- use the title resource id instead of the actual string in the launch intent so that it can react to language change. Change-Id: I424dc026a9298d12627c05f97f27e9d4cba5a341 Fixes: 77896130 Test: run i18nscreenshots
This commit is contained in:
@@ -912,7 +912,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
|||||||
|
|
||||||
private void launchNetworkDetailsFragment(ConnectedAccessPointPreference pref) {
|
private void launchNetworkDetailsFragment(ConnectedAccessPointPreference pref) {
|
||||||
new SubSettingLauncher(getContext())
|
new SubSettingLauncher(getContext())
|
||||||
.setTitle(getContext().getString(R.string.pref_title_network_details))
|
.setTitle(R.string.pref_title_network_details)
|
||||||
.setDestination(WifiNetworkDetailsFragment.class.getName())
|
.setDestination(WifiNetworkDetailsFragment.class.getName())
|
||||||
.setArguments(pref.getExtras())
|
.setArguments(pref.getExtras())
|
||||||
.setSourceMetricsCategory(getMetricsCategory())
|
.setSourceMetricsCategory(getMetricsCategory())
|
||||||
|
Reference in New Issue
Block a user