Fix Data warning title not translated.
- change to use the title resource id instead of getting the title from the preference, so that it can react to language change properly. Change-Id: I7f4b3c49ef1622b3d90bf035597742cac6f7af3c Fixes: 78318536 Test: run i18nscreenshots
This commit is contained in:
@@ -88,7 +88,7 @@ public class BillingCyclePreference extends Preference implements TemplatePrefer
|
||||
return new SubSettingLauncher(getContext())
|
||||
.setDestination(BillingCycleSettings.class.getName())
|
||||
.setArguments(args)
|
||||
.setTitle(getTitle())
|
||||
.setTitle(R.string.billing_cycle)
|
||||
.setSourceMetricsCategory(MetricsProto.MetricsEvent.VIEW_UNKNOWN)
|
||||
.toIntent();
|
||||
}
|
||||
|
Reference in New Issue
Block a user