From 619a93a9d7037141b3ac7717f25a3e73a1818a7a Mon Sep 17 00:00:00 2001 From: Bing-Hua Wang Date: Thu, 17 Oct 2013 22:42:47 +0800 Subject: Browser: fix weird behavior in the settings The summary of the text encoding preference should always be displayed. Change-Id: I5620cc147bdda078b9350f82b68b3d86774bc09c --- src/com/android/browser/preferences/AdvancedPreferencesFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/browser/preferences') 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 +} -- cgit v1.1