Fix debug mode

This commit is contained in:
Margaux Clerc 2015-02-18 15:24:05 +01:00
parent 25de5074ee
commit fd55a4fd1c

View file

@ -966,6 +966,7 @@ public class LinphonePreferences {
public void setDebugEnabled(boolean enabled) {
getConfig().setBool("app", "debug", enabled);
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
LinphoneCoreFactory.instance().enableLogCollection(enabled);
}
public boolean isDebugEnabled() {