Fix disable logs option
This commit is contained in:
parent
f9d8fd8170
commit
cda71d1ae7
1 changed files with 2 additions and 2 deletions
|
@ -662,8 +662,8 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
|||
}
|
||||
|
||||
public void initFromConf() throws LinphoneConfigException {
|
||||
|
||||
LinphoneCoreFactory.instance().setDebugMode(getPrefBoolean(R.string.pref_debug_key, mR.getBoolean(R.bool.pref_debug_default)), getString(R.string.app_name));
|
||||
boolean isDebugLogEnabled = !(mR.getBoolean(R.bool.disable_every_log)) && getPrefBoolean(R.string.pref_debug_key, mR.getBoolean(R.bool.pref_debug_default));
|
||||
LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, getString(R.string.app_name));
|
||||
initFromConfTunnel();
|
||||
|
||||
if (initialTransports == null)
|
||||
|
|
Loading…
Reference in a new issue