Use app's name as TAG for android logs

This commit is contained in:
Sylvain Berfini 2012-12-27 12:20:49 +01:00
parent 910186b84c
commit f4755d906e
2 changed files with 3 additions and 3 deletions

View file

@ -410,7 +410,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
copyAssetsFromPackage();
//traces alway start with traces enable to not missed first initialization
;
LinphoneCoreFactory.instance().setDebugMode(getPrefBoolean(R.string.pref_debug_key, false));
LinphoneCoreFactory.instance().setDebugMode(getPrefBoolean(R.string.pref_debug_key, false), getString(R.string.app_name));
mLc = LinphoneCoreFactory.instance().createLinphoneCore(
this, mLinphoneConfigFile, mLinphoneInitialConfigFile, null);
@ -654,7 +654,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
public void initFromConf() throws LinphoneConfigException {
LinphoneCoreFactory.instance().setDebugMode(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));
initFromConfTunnel();
if (initialTransports == null)

@ -1 +1 @@
Subproject commit 03ce0e5b59095b6fb2199969ccfb34163ef5858c
Subproject commit 414fcf3841ee6c3b69cb9d52b35bdf6ef97a8ef7