Update linphone submodule
This commit is contained in:
parent
5a7ef0aab0
commit
40f29d6837
2 changed files with 2 additions and 4 deletions
|
@ -477,9 +477,7 @@ public class SettingsFragment extends PreferencesListFragment implements EcCalib
|
||||||
@Override
|
@Override
|
||||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||||
ListPreference listPreference = (ListPreference) preference;
|
ListPreference listPreference = (ListPreference) preference;
|
||||||
int index = listPreference.findIndexOfValue((String)newValue);
|
mPrefs.setAdaptiveRateAlgorithm(AdaptiveRateAlgorithm.fromString((String)newValue));
|
||||||
|
|
||||||
mPrefs.setAdaptiveRateAlgorithm(AdaptiveRateAlgorithm.fromInt(index));
|
|
||||||
preference.setSummary(String.valueOf(mPrefs.getAdaptiveRateAlgorithm()));
|
preference.setSummary(String.valueOf(mPrefs.getAdaptiveRateAlgorithm()));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0abc9efadc86737345690e63886f31880286a5ee
|
Subproject commit b2ae9095d9aecbdd36cb76b5387c9a60d97cc7ef
|
Loading…
Reference in a new issue