Fix disable logs option

This commit is contained in:
Sylvain Berfini 2013-01-15 12:50:47 +01:00
parent f9d8fd8170
commit cda71d1ae7

View file

@ -662,8 +662,8 @@ public final class LinphoneManager implements LinphoneCoreListener {
} }
public void initFromConf() throws LinphoneConfigException { public void initFromConf() throws LinphoneConfigException {
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(getPrefBoolean(R.string.pref_debug_key, mR.getBoolean(R.bool.pref_debug_default)), getString(R.string.app_name)); LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, getString(R.string.app_name));
initFromConfTunnel(); initFromConfTunnel();
if (initialTransports == null) if (initialTransports == null)