Read defaut debug setting value from non_localizable_defaults

This commit is contained in:
Sylvain Berfini 2013-01-15 12:46:29 +01:00
parent 7f47c53e05
commit f9d8fd8170

View file

@ -418,7 +418,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
//traces alway start with traces enable to not missed first initialization
;
boolean isDebugLogEnabled = !(mR.getBoolean(R.bool.disable_every_log)) && getPrefBoolean(R.string.pref_debug_key, false);
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));
mLc = LinphoneCoreFactory.instance().createLinphoneCore(