We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76fe22 commit 5a8bfe9Copy full SHA for 5a8bfe9
pythonforandroid/bootstraps/service_only/build/jni/src/start.c
@@ -279,7 +279,7 @@ int main(int argc, char *argv[]) {
279
}
280
281
JNIEXPORT void JNICALL Java_org_kivy_android_PythonService_nativeStart(
282
- JNIEnv *env, jobject thiz, jstring j_android_private,
+ JNIEnv *env, jobject j_this, jstring j_android_private,
283
jstring j_android_argument, jstring j_service_entrypoint,
284
jstring j_python_name, jstring j_python_home, jstring j_python_path,
285
jstring j_arg) {
@@ -296,7 +296,8 @@ JNIEXPORT void JNICALL Java_org_kivy_android_PythonService_nativeStart(
296
(*env)->GetStringUTFChars(env, j_python_home, &iscopy);
297
const char *python_path =
298
(*env)->GetStringUTFChars(env, j_python_path, &iscopy);
299
- const char *arg = (*env)->GetStringUTFChars(env, j_arg, &iscopy);
+ const char *arg =
300
+ (*env)->GetStringUTFChars(env, j_arg, &iscopy);
301
302
setenv("ANDROID_PRIVATE", android_private, 1);
303
setenv("ANDROID_ARGUMENT", android_argument, 1);
0 commit comments