mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
Revert "Remove useless setcontext for linphonecore"
This reverts commit 3e91c26f8a.
This commit is contained in:
parent
92b69f74e8
commit
ef792ae0ab
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
File factory = factoryConfig == null ? null : new File(factoryConfig);
|
||||
LinphoneCore lc = new LinphoneCoreImpl(listener, user, factory, userdata);
|
||||
lc.enableOpenH264(openh264Enabled);
|
||||
if(context!=null) lc.setContext(context);
|
||||
return lc;
|
||||
} catch (IOException e) {
|
||||
throw new LinphoneCoreException("Cannot create LinphoneCore",e);
|
||||
|
|
@ -146,6 +147,7 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
|
|||
MediastreamerAndroidContext.setContext(context);
|
||||
LinphoneCore lc = new LinphoneCoreImpl(listener);
|
||||
lc.enableOpenH264(openh264Enabled);
|
||||
if(context!=null) lc.setContext(context);
|
||||
return lc;
|
||||
} catch (IOException e) {
|
||||
throw new LinphoneCoreException("Cannot create LinphoneCore",e);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue