Fix debug mode
This commit is contained in:
parent
25de5074ee
commit
fd55a4fd1c
1 changed files with 1 additions and 0 deletions
|
@ -966,6 +966,7 @@ public class LinphonePreferences {
|
||||||
public void setDebugEnabled(boolean enabled) {
|
public void setDebugEnabled(boolean enabled) {
|
||||||
getConfig().setBool("app", "debug", enabled);
|
getConfig().setBool("app", "debug", enabled);
|
||||||
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
||||||
|
LinphoneCoreFactory.instance().enableLogCollection(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isDebugEnabled() {
|
public boolean isDebugEnabled() {
|
||||||
|
|
Loading…
Reference in a new issue