summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/nfc/NfcEnabler.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-10-14 17:20:59 -0700
committerAmith Yamasani <yamasani@google.com>2010-10-15 10:00:40 -0700
commit1bdb7874adf52b0fc2fe6ec40913a0562cf585ed (patch)
treefb3d1701810b92ddb87914939946ffaab217fe19 /src/com/android/settings/nfc/NfcEnabler.java
parent2c4899737be92b858a9e2d9d743709cae310149b (diff)
downloadpackages_apps_Settings-1bdb7874adf52b0fc2fe6ec40913a0562cf585ed.tar.gz
packages_apps_Settings-1bdb7874adf52b0fc2fe6ec40913a0562cf585ed.tar.bz2
packages_apps_Settings-1bdb7874adf52b0fc2fe6ec40913a0562cf585ed.zip
Make summary appear for both checked and unchecked NFC checkbox in Settings.
And remove the extra "Tag" in the summary. Bug: 3083079 Change-Id: I998c2556a88180098a060d43b720276a7619a368
Diffstat (limited to 'src/com/android/settings/nfc/NfcEnabler.java')
-rw-r--r--src/com/android/settings/nfc/NfcEnabler.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/com/android/settings/nfc/NfcEnabler.java b/src/com/android/settings/nfc/NfcEnabler.java
index 4653c3ad4..1facab9fa 100644
--- a/src/com/android/settings/nfc/NfcEnabler.java
+++ b/src/com/android/settings/nfc/NfcEnabler.java
@@ -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);
- }
}
-} \ No newline at end of file
+}