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
make Looper, Handler, and MessageQueue work properly
this for example makes Unity apps not steal the main thread, hanging Gtk.
This commit is contained in:
@@ -15,6 +15,14 @@ extern "C" {
|
||||
JNIEXPORT jboolean JNICALL Java_android_os_SystemClock_setCurrentTimeMillis
|
||||
(JNIEnv *, jclass, jlong);
|
||||
|
||||
/*
|
||||
* Class: android_os_SystemClock
|
||||
* Method: uptimeMillis
|
||||
* Signature: ()J
|
||||
*/
|
||||
JNIEXPORT jlong JNICALL Java_android_os_SystemClock_uptimeMillis
|
||||
(JNIEnv *, jclass);
|
||||
|
||||
/*
|
||||
* Class: android_os_SystemClock
|
||||
* Method: elapsedRealtime
|
||||
|
||||
Reference in New Issue
Block a user