godot/platform/android
Fredia Huya-Kouadio 1c8682aa78
Resolve issue where the Godot app remains stuck when resuming.
This was caused by the fact that a new instance of Godot was created at resume while a previous instance already existed.
The previous instance would then go through its cleanup lifecycle, and would thus attempt to close the entire app, leading to the system to restart the app, thus starting the cycle anew.
The fix involves reusing the previous instance of Godot if one is available instead of creating a new one, as well as giving control to the host activity for how the process should be terminated.

(cherry picked from commit 874aa1708f)
2021-08-13 12:17:15 +02:00
..
api Modernize Thread 2021-02-18 11:58:08 +01:00
export Fix custom build export 2021-07-28 15:40:17 +02:00
java Resolve issue where the Godot app remains stuck when resuming. 2021-08-13 12:17:15 +02:00
plugin Expose GodotPlugin's utility methods used for registration and signal emitting. 2021-02-15 15:57:36 -08:00
android_keys_utils.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
android_keys_utils.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_driver_jandroid.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
audio_driver_jandroid.h Modernize Mutex 2021-02-18 11:58:08 +01:00
audio_driver_opensl.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
audio_driver_opensl.h Modernize Mutex 2021-02-18 11:58:08 +01:00
detect.py Android: Remove -fno-integrated-as, it can break arm64v8 build 2021-05-19 19:46:43 +02:00
dir_access_jandroid.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
dir_access_jandroid.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
file_access_android.cpp Android: Fix get_buffer false positive on empty dest buffer 2021-04-23 22:02:34 +02:00
file_access_android.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
java_class_wrapper.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
java_godot_io_wrapper.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
java_godot_io_wrapper.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
java_godot_lib_jni.cpp Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:20:43 -07:00
java_godot_lib_jni.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
java_godot_wrapper.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
java_godot_wrapper.h Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:20:43 -07:00
jni_utils.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
jni_utils.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png platform: Update metadata for export platforms 2020-08-14 00:32:05 +02:00
net_socket_android.cpp Modernize Thread 2021-02-18 11:58:08 +01:00
net_socket_android.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
os_android.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
os_android.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_android.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_android.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-05-04 12:54:34 +02:00
string_android.h Modernize Thread 2021-02-18 11:58:08 +01:00
thread_jandroid.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
thread_jandroid.h Modernize Thread 2021-02-18 11:58:08 +01:00