From 798d472b46a64407288fcbdf9a1f3fd7b579d765 Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Wed, 8 Feb 2017 10:11:04 +0100 Subject: [PATCH] Fix Copy rootca at each launch instead of copy this if it not exist --- src/org/linphone/LinphoneManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java index 2de2e24c8..e10aae24a 100644 --- a/src/org/linphone/LinphoneManager.java +++ b/src/org/linphone/LinphoneManager.java @@ -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 {