mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-03 03:39:27 +00:00
Fixing load of grammar
This commit is contained in:
parent
99ea6e4cad
commit
3d7e530222
3 changed files with 6 additions and 5 deletions
|
|
@ -2216,8 +2216,9 @@ static void linphone_core_init(LinphoneCore * lc, LinphoneCoreCbs *cbs, LpConfig
|
|||
|
||||
// We need the Sal on the Android platform helper init
|
||||
msplugins_dir = linphone_factory_get_msplugins_dir(lfactory);
|
||||
image_resources_dir = linphone_factory_get_image_resources_dir(lfactory);
|
||||
lc->sal=new Sal(NULL);
|
||||
image_resources_dir = linphone_factory_get_image_resources_dir(lfactory);
|
||||
lc->factory = ms_factory_new_with_voip_and_directories(msplugins_dir, image_resources_dir);
|
||||
lc->sal=new Sal(lc->factory);
|
||||
lc->sal->set_http_proxy_host(linphone_core_get_http_proxy_host(lc));
|
||||
lc->sal->set_http_proxy_port(linphone_core_get_http_proxy_port(lc));
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ AndroidPlatformHelpers::AndroidPlatformHelpers (LinphoneCore *lc, void *systemCo
|
|||
mGetConfigPathId = getMethodId(env, klass, "getConfigPath", "()Ljava/lang/String;");
|
||||
|
||||
jmethodID initCoreId = getMethodId(env, klass, "initCore", "(J)V");
|
||||
env->CallVoidMethod(mJavaHelper, initCoreId, (jlong)lc);
|
||||
env->CallVoidMethod(mJavaHelper, initCoreId, lc);
|
||||
|
||||
jobject pm = env->CallObjectMethod(mJavaHelper, mGetPowerManagerId);
|
||||
belle_sip_wake_lock_init(env, pm);
|
||||
|
|
|
|||
|
|
@ -238,9 +238,9 @@ public class AndroidPlatformHelper {
|
|||
}
|
||||
}
|
||||
|
||||
public void copyFromPackage(int ressourceId, String target) throws IOException {
|
||||
InputStream lInputStream = mResources.openRawResource(ressourceId);
|
||||
public void copyFromPackage(int ressourceId, String target) throws IOException{
|
||||
FileOutputStream lOutputStream = mContext.openFileOutput (target, 0);
|
||||
InputStream lInputStream = mResources.openRawResource(ressourceId);
|
||||
int readByte;
|
||||
byte[] buff = new byte[8048];
|
||||
while (( readByte = lInputStream.read(buff)) != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue