Separate NFC on/off strings

For pt-BR, it needs a different gender when we are referring to "NFC".

Bug: 189314407
Test: check On/Off strings
Change-Id: I87da43c66a65b3ef2fcd9c57632b36302d9920e8
This commit is contained in:
George Chang
2021-07-02 11:00:55 +08:00
parent 38f6a9738f
commit 96b5af7e39
2 changed files with 6 additions and 2 deletions

View File

@@ -54,9 +54,9 @@ public class NfcAndPaymentFragmentController extends BasePreferenceController {
public CharSequence getSummary() {
if (mNfcAdapter != null) {
if (mNfcAdapter.isEnabled()) {
return mContext.getText(R.string.switch_on_text);
return mContext.getText(R.string.nfc_setting_on);
} else {
return mContext.getText(R.string.switch_off_text);
return mContext.getText(R.string.nfc_setting_off);
}
}
return null;