From 5ac6dabc6da49e9110f924d604cc49ad6993ffd1 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 3 Sep 2014 11:31:18 +0200 Subject: [PATCH] Some LinphoneManager method are now public --- src/org/linphone/LinphoneManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/linphone/LinphoneManager.java b/src/org/linphone/LinphoneManager.java index ca93eb6dd..97293c382 100644 --- a/src/org/linphone/LinphoneManager.java +++ b/src/org/linphone/LinphoneManager.java @@ -569,14 +569,14 @@ public class LinphoneManager implements LinphoneCoreListener { copyIfNotExist(R.raw.rootca, mLinphoneRootCaFile); } - private void copyIfNotExist(int ressourceId,String target) throws IOException { + public void copyIfNotExist(int ressourceId, String target) throws IOException { File lFileToCopy = new File(target); if (!lFileToCopy.exists()) { copyFromPackage(ressourceId,lFileToCopy.getName()); } } - private void copyFromPackage(int ressourceId,String target) throws IOException{ + public void copyFromPackage(int ressourceId, String target) throws IOException{ FileOutputStream lOutputStream = mServiceContext.openFileOutput (target, 0); InputStream lInputStream = mR.openRawResource(ressourceId); int readByte;