SDL/android-project
Sylvain 4e0f94ea7d Android: add timeout when waiting the SDL thread to finish
C SDLmain() thread might have started (mSDLThread.start() called)
while the SDL_Init() might not have been called yet,
and so the previous QUIT event will be discarded by SDL_Init() and app is running, not exiting.

This is reprocible by adding instrumentation code in the SDLActivity.

And hopefully, this could fix an ANR, where SDLActivity is in WAITING state (in thread.join()):
  at java.lang.Thread.join (Thread.java:1519)
  at org.libsdl.app.SDLActivity.onDestroy (SDLActivity.java)

while SDLThread seems to be running
2023-06-12 11:53:09 +02:00
..
app Android: add timeout when waiting the SDL thread to finish 2023-06-12 11:53:09 +02:00
gradle/wrapper Updated Android build environment for examples 2021-11-15 17:04:50 -08:00
build.gradle Updated Android build environment for examples 2021-11-15 17:04:50 -08:00
gradle.properties Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
gradlew Avoid use of deprecated egrep/fgrep 2022-11-24 02:58:20 -08:00
gradlew.bat Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00
settings.gradle Switched to new style gradle Android application build process 2017-10-23 15:23:43 -07:00