Fix transport display
This commit is contained in:
parent
a5f8439a93
commit
0426ac0b03
1 changed files with 3 additions and 2 deletions
|
@ -188,7 +188,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment {
|
|||
String key = newValue.toString();
|
||||
mPrefs.setAccountTransport(n, key);
|
||||
preference.setSummary(mPrefs.getAccountTransportString(n));
|
||||
|
||||
preference.setDefaultValue(mPrefs.getAccountTransportKey(n));
|
||||
if (mProxyPreference != null) {
|
||||
String newProxy = mPrefs.getAccountProxy(n);
|
||||
mProxyPreference.setSummary(newProxy);
|
||||
|
@ -340,6 +340,7 @@ public class AccountPreferencesFragment extends PreferencesListFragment {
|
|||
|
||||
pref.setSummary(mPrefs.getAccountTransportString(n));
|
||||
pref.setDefaultValue(mPrefs.getAccountTransportKey(n));
|
||||
pref.setValueIndex(entries.indexOf(mPrefs.getAccountTransportString(n)));
|
||||
}
|
||||
|
||||
private static void setListPreferenceValues(ListPreference pref, List<CharSequence> entries, List<CharSequence> values) {
|
||||
|
|
Loading…
Reference in a new issue