Update NFC settings description, and fix polarity.

Change-Id: I0d45652113617230e04536a7cc2ff148dd52595a
This commit is contained in:
Nick Pelly
2010-10-12 21:22:54 -07:00
parent bdf1310707
commit 083310d316
2 changed files with 3 additions and 3 deletions

View File

@@ -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 -->

View File

@@ -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);
}
}
}