Commit 3e91c26f authored by Erwan Croze's avatar Erwan Croze :wave_tone1:
Browse files

Remove useless setcontext for linphonecore

parent 21556edb
Branches
Tags
No related merge requests found
Showing with 0 additions and 2 deletions
...@@ -130,7 +130,6 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory { ...@@ -130,7 +130,6 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
File factory = factoryConfig == null ? null : new File(factoryConfig); File factory = factoryConfig == null ? null : new File(factoryConfig);
LinphoneCore lc = new LinphoneCoreImpl(listener, user, factory, userdata); LinphoneCore lc = new LinphoneCoreImpl(listener, user, factory, userdata);
lc.enableOpenH264(openh264Enabled); lc.enableOpenH264(openh264Enabled);
if(context!=null) lc.setContext(context);
return lc; return lc;
} catch (IOException e) { } catch (IOException e) {
throw new LinphoneCoreException("Cannot create LinphoneCore",e); throw new LinphoneCoreException("Cannot create LinphoneCore",e);
...@@ -145,7 +144,6 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory { ...@@ -145,7 +144,6 @@ public class LinphoneCoreFactoryImpl extends LinphoneCoreFactory {
MediastreamerAndroidContext.setContext(context); MediastreamerAndroidContext.setContext(context);
LinphoneCore lc = new LinphoneCoreImpl(listener); LinphoneCore lc = new LinphoneCoreImpl(listener);
lc.enableOpenH264(openh264Enabled); lc.enableOpenH264(openh264Enabled);
if(context!=null) lc.setContext(context);
return lc; return lc;
} catch (IOException e) { } catch (IOException e) {
throw new LinphoneCoreException("Cannot create LinphoneCore",e); throw new LinphoneCoreException("Cannot create LinphoneCore",e);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment