dolphin/Source/Android/app
JosJuice 9ca9d073df Android: Fix race condition in displayAlertMsg
It was possible for sAlertMessageLock.notify() to be called before
sAlertMessageLock.wait(), causing Dolphin to deadlock. In particular,
this was guaranteed to happen if displayAlertMsg was called from the UI
thread while the emulation activity is being destroyed, because
runOnUiThread runs the passed-in anonymous function immediately when
called from the UI thread.

By replacing Object.wait/Object.notify with Semaphore.acquire/
Semaphore.release, it no longer matters what order the methods are
called in.
2024-04-05 22:46:48 +02:00
..
src/main Android: Fix race condition in displayAlertMsg 2024-04-05 22:46:48 +02:00
.gitignore Android: Update the gradle file to use android studio 2.2 cmake. 2016-10-05 23:44:10 +02:00
build.gradle.kts Android: Update the comment for the targets line in build.gradle.kts 2023-12-30 14:16:28 +01:00
proguard-rules.pro Android: Upgrade to AGP 8.0.2 2023-06-11 23:44:44 -04:00