You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
ANativeWindow: make the while loop hack work on main thread
This commit is contained in:
@@ -16,7 +16,7 @@ struct native_message_queue {
|
||||
bool is_main_thread;
|
||||
};
|
||||
|
||||
static GThread *main_thread_id;
|
||||
GThread *main_thread_id;
|
||||
|
||||
void prepare_main_looper(JNIEnv* env) {
|
||||
main_thread_id = g_thread_self();
|
||||
|
||||
Reference in New Issue
Block a user