Don't store auth info in linphonerc.

This commit is contained in:
Guillaume Beraudo 2013-01-16 14:57:27 +01:00
parent 6e5993379d
commit 2ae6bd699e
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@
<class name="org.linphone.core.LinphoneFriendImpl" />
<class name="org.linphone.core.LinphoneProxyConfigImpl" />
<class name="org.linphone.core.PayloadTypeImpl" />
<class name="org.linphone.core.LpConfigImpl" />
</javah>
</target>

View file

@ -421,6 +421,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, getString(R.string.app_name));
mLc = LinphoneCoreFactory.instance().createLinphoneCore(this, mLinphoneConfigFile, mLinphoneInitialConfigFile, null);
mLc.getConfig().setInt("sip", "store_auth_info", 0);
mLc.setContext(c);
try {
String versionName = c.getPackageManager().getPackageInfo(c.getPackageName(), 0).versionName;