Some LinphoneManager method are now public
This commit is contained in:
parent
dc0c0fa1e8
commit
5ac6dabc6d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue