File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
pythonforandroid/bootstraps/common/build/jni/application/src Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ int SDL_main(int argc, char *argv[]) {
354
354
}
355
355
#endif
356
356
357
- JNIEXPORT int JNICALL Java_org_kivy_android_PythonService_nativeStart (
357
+ static int native_service_start (
358
358
JNIEnv * env ,
359
359
jobject thiz ,
360
360
jstring j_android_private ,
@@ -397,6 +397,28 @@ JNIEXPORT int JNICALL Java_org_kivy_android_PythonService_nativeStart(
397
397
return run_python (1 , argv );
398
398
}
399
399
400
+ JNIEXPORT int JNICALL Java_org_kivy_android_PythonService_nativeStart (
401
+ JNIEnv * env ,
402
+ jobject thiz ,
403
+ jstring j_android_private ,
404
+ jstring j_android_argument ,
405
+ jstring j_service_entrypoint ,
406
+ jstring j_python_name ,
407
+ jstring j_python_home ,
408
+ jstring j_python_path ,
409
+ jstring j_arg ) {
410
+ LOGP ("Entering org.kivy.android.PythonService.nativeStart" );
411
+ return native_service_start (env ,
412
+ thiz ,
413
+ j_android_private ,
414
+ j_android_argument ,
415
+ j_service_entrypoint ,
416
+ j_python_name ,
417
+ j_python_home ,
418
+ j_python_path ,
419
+ j_arg );
420
+ }
421
+
400
422
#if defined(BOOTSTRAP_NAME_WEBVIEW ) || defined(BOOTSTRAP_NAME_SERVICEONLY )
401
423
// Webview and service_only uses some more functions:
402
424
You can’t perform that action at this time.
0 commit comments