Merge "Separate NFC on/off strings" into sc-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user