Fix AMR codec not enabled on old installations.

This commit is contained in:
Guillaume Beraudo 2011-04-18 15:46:36 +02:00
parent 5fb71717cb
commit 7996f40461
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@
android:summary="@string/pref_ilbc_summary"/>
<CheckBoxPreference android:key="@string/pref_codec_amr_key"
android:title="@string/pref_codec_amr"
android:defaultValue="true"
android:shouldDisableView="true" />
<CheckBoxPreference android:key="@string/pref_codec_gsm_key"
android:title="@string/pref_codec_gsm"/>

View file

@ -813,6 +813,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
}
}
// Called on first launch only
public void initializePayloads() {
Log.i(TAG, "Initializing supported payloads");
Editor e = mPref.edit();