mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Fixed previous commit
This commit is contained in:
parent
b18d8a7001
commit
4a046d10f7
1 changed files with 4 additions and 4 deletions
|
|
@ -181,18 +181,18 @@ string AndroidPlatformHelpers::getDataPath () {
|
|||
JNIEnv *env = ms_get_jni_env();
|
||||
jstring jdata_path = (jstring)env->CallObjectMethod(mJavaHelper, mGetDataPathId);
|
||||
const char *data_path = GetStringUTFChars(env, jdata_path);
|
||||
string dataPath = data_path + "/";
|
||||
string dataPath = data_path;
|
||||
ReleaseStringUTFChars(env, jdata_path, data_path);
|
||||
return dataPath;
|
||||
return dataPath + "/";
|
||||
}
|
||||
|
||||
string AndroidPlatformHelpers::getConfigPath () {
|
||||
JNIEnv *env = ms_get_jni_env();
|
||||
jstring jconfig_path = (jstring)env->CallObjectMethod(mJavaHelper, mGetConfigPathId);
|
||||
const char *config_path = GetStringUTFChars(env, jconfig_path);
|
||||
string configPath = config_path + "/";
|
||||
string configPath = config_path;
|
||||
ReleaseStringUTFChars(env, jconfig_path, config_path);
|
||||
return configPath;
|
||||
return configPath + "/";
|
||||
}
|
||||
|
||||
int AndroidPlatformHelpers::callVoidMethod (jmethodID id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue