Fix checkbox with different styles
This commit is contained in:
parent
96b99c2814
commit
08f8c2682e
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ public class SettingsFragment extends PreferencesListFragment implements EcCalib
|
||||||
|
|
||||||
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||||
for (final PayloadType pt : lc.getAudioCodecs()) {
|
for (final PayloadType pt : lc.getAudioCodecs()) {
|
||||||
CheckBoxPreference codec = new CheckBoxPreference(LinphoneService.instance());
|
CheckBoxPreference codec = new CheckBoxPreference(getActivity());
|
||||||
codec.setTitle(pt.getMime());
|
codec.setTitle(pt.getMime());
|
||||||
/* Special case */
|
/* Special case */
|
||||||
if (pt.getMime().equals("mpeg4-generic")) {
|
if (pt.getMime().equals("mpeg4-generic")) {
|
||||||
|
|
Loading…
Reference in a new issue