am 8de45a66: am 1bdb7874: Make summary appear for both checked and unchecked NFC checkbox in Settings.

Merge commit '8de45a6686b298d09c5195e332f202223a555b91'

* commit '8de45a6686b298d09c5195e332f202223a555b91':
  Make summary appear for both checked and unchecked NFC checkbox in Settings.
This commit is contained in:
Amith Yamasani
2010-10-16 09:43:15 -07:00
committed by Android Git Automerger
2 changed files with 2 additions and 7 deletions

View File

@@ -91,10 +91,5 @@ public class NfcEnabler implements Preference.OnPreferenceChangeListener {
private void updateUi() {
mCheckbox.setChecked(mNfcState);
if (mNfcState) {
mCheckbox.setSummary(null);
} else {
mCheckbox.setSummary(R.string.nfc_quick_toggle_summary);
}
}
}
}