summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBing-Hua Wang <louiswpf@gmail.com>2013-10-17 22:42:47 +0800
committerSteve Kondik <steve@cyngn.com>2015-11-07 13:57:45 -0800
commit619a93a9d7037141b3ac7717f25a3e73a1818a7a (patch)
treead6ed4ac492f054cf899d2331ee8b6387a17ff06 /src
parentb150c00c691e356adb0bfa0dbc3a901c2487c5a8 (diff)
downloadpackages_apps_Browser-619a93a9d7037141b3ac7717f25a3e73a1818a7a.zip
packages_apps_Browser-619a93a9d7037141b3ac7717f25a3e73a1818a7a.tar.gz
packages_apps_Browser-619a93a9d7037141b3ac7717f25a3e73a1818a7a.tar.bz2
Browser: fix weird behavior in the settings
The summary of the text encoding preference should always be displayed. Change-Id: I5620cc147bdda078b9350f82b68b3d86774bc09c
Diffstat (limited to 'src')
-rw-r--r--src/com/android/browser/preferences/AdvancedPreferencesFragment.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/browser/preferences/AdvancedPreferencesFragment.java b/src/com/android/browser/preferences/AdvancedPreferencesFragment.java
index 0a97ba0..dca6983 100644
--- a/src/com/android/browser/preferences/AdvancedPreferencesFragment.java
+++ b/src/com/android/browser/preferences/AdvancedPreferencesFragment.java
@@ -57,6 +57,7 @@ public class AdvancedPreferencesFragment extends PreferenceFragment
e = findPreference(PreferenceKeys.PREF_DEFAULT_TEXT_ENCODING);
e.setOnPreferenceChangeListener(this);
+ updateListPreferenceSummary((ListPreference) e);
e = findPreference(PreferenceKeys.PREF_RESET_DEFAULT_PREFERENCES);
e.setOnPreferenceChangeListener(this);
@@ -154,4 +155,4 @@ public class AdvancedPreferencesFragment extends PreferenceFragment
return "";
}
-} \ No newline at end of file
+}