Update linphone
This commit is contained in:
parent
3f6e93a37d
commit
ff0ad63b01
4 changed files with 5 additions and 5 deletions
|
@ -291,7 +291,6 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
|
|||
public void startDownload(Context context, Object obj) {
|
||||
box = (CheckBoxPreference)obj;
|
||||
ctxt = context;
|
||||
this.setFileDirection(ctxt.getFilesDir().toString());
|
||||
askPopUp();
|
||||
}
|
||||
|
||||
|
|
|
@ -572,7 +572,7 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (pt.getMime().equals("H264") && CodecDownloader.codecExist(ctxt))
|
||||
if (pt.getMime().equals("H264") && CodecDownloader.codecExist())
|
||||
codec.setSummary(CodecDownloader.getLicenseMessage());
|
||||
codec.setChecked(lc.isPayloadTypeEnabled(pt));
|
||||
|
||||
|
@ -582,7 +582,7 @@ public class SettingsFragment extends PreferencesListFragment {
|
|||
boolean enable = (Boolean) newValue;
|
||||
try {
|
||||
if (enable && Version.getCpuAbis().contains("armeabi-v7a") && !Version.getCpuAbis().contains("x86")
|
||||
&& pt.getMime().equals("H264") && !CodecDownloader.codecExist(ctxt)) {
|
||||
&& pt.getMime().equals("H264") && !CodecDownloader.codecExist()) {
|
||||
LinphoneManager.getInstance().getCodecDownloader().startDownload(ctxt, codec);
|
||||
}
|
||||
LinphoneManager.getLcIfManagerNotDestroyedOrNull().enablePayloadType(pt, enable);
|
||||
|
|
|
@ -42,8 +42,9 @@ public class WelcomeFragment extends Fragment implements OnClickListener {
|
|||
Bundle savedInstanceState) {
|
||||
View view = inflater.inflate(R.layout.assistant_welcome, container, false);
|
||||
|
||||
LinphoneManager.getInstance().getCodecDownloader().setFileDirection(getContext().getFilesDir().toString());
|
||||
if (LinphonePreferences.instance().isFirstLaunch() && Version.getCpuAbis().contains("armeabi-v7a")
|
||||
&& !Version.getCpuAbis().contains("x86") && !CodecDownloader.codecExist(getContext())) {
|
||||
&& !Version.getCpuAbis().contains("x86") && !CodecDownloader.codecExist()) {
|
||||
LinphoneManager.getInstance().getCodecDownloader().startDownload(getContext(), null);
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 031a83953bfa302e3035b5b8d99491578ad0e258
|
||||
Subproject commit c4d988bba2eeac1cb5253d3210a831cbe10120c0
|
Loading…
Reference in a new issue