Merge "Make NFC Setting summary text translatable" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-03-15 14:47:16 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 1 deletions

View File

@@ -143,7 +143,8 @@ public class DefaultPaymentSettings extends DefaultAppPickerFragment {
CandidateInfo info, String defaultKey, String systemDefaultKey) {
final NfcPaymentCandidateInfo candidateInfo = (NfcPaymentCandidateInfo) info;
if (candidateInfo.isManagedProfile()) {
pref.setSummary("Work");
final String textWork = getContext().getString(R.string.nfc_work_text);
pref.setSummary(textWork);
}
}