Fix Copy rootca at each launch instead of copy this if it not exist

This commit is contained in:
Erwan Croze 2017-02-08 10:11:04 +01:00
parent 767adf809e
commit 798d472b46

View file

@ -842,7 +842,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
copyIfNotExist(R.raw.linphonerc_default, mLinphoneConfigFile);
copyFromPackage(R.raw.linphonerc_factory, new File(mLinphoneFactoryConfigFile).getName());
copyIfNotExist(R.raw.lpconfig, mLPConfigXsd);
copyIfNotExist(R.raw.rootca, mLinphoneRootCaFile);
copyFromPackage(R.raw.rootca, mLinphoneRootCaFile);
}
public void copyIfNotExist(int ressourceId, String target) throws IOException {