Make NFC Setting summary text translatable
Add a string in resource xml for the work app summary text in the default payment selection list. Bug: 202369556 Test: manual test Change-Id: Iec3f4bd47c641f3226506a5c49f1601cb24f613a
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user