Don't store auth info in linphonerc.
This commit is contained in:
parent
6e5993379d
commit
2ae6bd699e
2 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
<class name="org.linphone.core.LinphoneFriendImpl" />
|
<class name="org.linphone.core.LinphoneFriendImpl" />
|
||||||
<class name="org.linphone.core.LinphoneProxyConfigImpl" />
|
<class name="org.linphone.core.LinphoneProxyConfigImpl" />
|
||||||
<class name="org.linphone.core.PayloadTypeImpl" />
|
<class name="org.linphone.core.PayloadTypeImpl" />
|
||||||
|
<class name="org.linphone.core.LpConfigImpl" />
|
||||||
</javah>
|
</javah>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
|
@ -421,6 +421,7 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, getString(R.string.app_name));
|
LinphoneCoreFactory.instance().setDebugMode(isDebugLogEnabled, getString(R.string.app_name));
|
||||||
|
|
||||||
mLc = LinphoneCoreFactory.instance().createLinphoneCore(this, mLinphoneConfigFile, mLinphoneInitialConfigFile, null);
|
mLc = LinphoneCoreFactory.instance().createLinphoneCore(this, mLinphoneConfigFile, mLinphoneInitialConfigFile, null);
|
||||||
|
mLc.getConfig().setInt("sip", "store_auth_info", 0);
|
||||||
mLc.setContext(c);
|
mLc.setContext(c);
|
||||||
try {
|
try {
|
||||||
String versionName = c.getPackageManager().getPackageInfo(c.getPackageName(), 0).versionName;
|
String versionName = c.getPackageManager().getPackageInfo(c.getPackageName(), 0).versionName;
|
||||||
|
|
Loading…
Reference in a new issue