diff options
Diffstat (limited to 'sal/android')
-rw-r--r-- | sal/android/lo-bootstrap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c index 59960b31e1c6..9c2c3da8de15 100644 --- a/sal/android/lo-bootstrap.c +++ b/sal/android/lo-bootstrap.c @@ -1491,6 +1491,8 @@ android_main(struct android_app* state) sleep(sleep_time); } + (*(*state->activity->vm)->AttachCurrentThread)(state->activity->vm, &env, 0); + app = state; memset(&engine, 0, sizeof(engine)); |