Fix debug mode setting changes not applies until app restart
This commit is contained in:
parent
61ac3f2b30
commit
452a8b857e
1 changed files with 1 additions and 1 deletions
|
@ -965,8 +965,8 @@ public class LinphonePreferences {
|
|||
// Advanced settings
|
||||
public void setDebugEnabled(boolean enabled) {
|
||||
getConfig().setBool("app", "debug", enabled);
|
||||
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
||||
LinphoneCoreFactory.instance().enableLogCollection(enabled);
|
||||
LinphoneCoreFactory.instance().setDebugMode(enabled, getString(R.string.app_name));
|
||||
}
|
||||
|
||||
public boolean isDebugEnabled() {
|
||||
|
|
Loading…
Reference in a new issue