Update NFC settings description, and fix polarity.
Change-Id: I0d45652113617230e04536a7cc2ff148dd52595a
This commit is contained in:
@@ -783,7 +783,7 @@
|
||||
<!-- Used in the 1st-level settings screen to turn on NFC -->
|
||||
<string name="nfc_quick_toggle_title">NFC</string>
|
||||
<!-- Used in the 1st-level settings screen as the turn-on summary -->
|
||||
<string name="nfc_quick_toggle_summary">Turn on NFC</string>
|
||||
<string name="nfc_quick_toggle_summary">Use Near Field Communication to read Tags and exchange Tags</string>
|
||||
|
||||
<!-- Wi-Fi Settings --> <skip />
|
||||
<!-- Used in the 1st-level settings screen to turn on Wi-Fi -->
|
||||
|
@@ -92,9 +92,9 @@ public class NfcEnabler implements Preference.OnPreferenceChangeListener {
|
||||
private void updateUi() {
|
||||
mCheckbox.setChecked(mNfcState);
|
||||
if (mNfcState) {
|
||||
mCheckbox.setSummary(R.string.nfc_quick_toggle_summary);
|
||||
mCheckbox.setSummary(null);
|
||||
} else {
|
||||
mCheckbox.setSummary("");
|
||||
mCheckbox.setSummary(R.string.nfc_quick_toggle_summary);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user