Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cf0dfd3 authored by Doris Ling's avatar Doris Ling
Browse files

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
parent 465f6da1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
    }