diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-26 12:42:29 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-01-26 13:32:13 +0200 |
commit | 85f0cd34dbfc0dcc81da5ac0a046812673b40bb6 (patch) | |
tree | 047495ac5d2a40bd6f811d6c126deabafeffd753 /sal/android | |
parent | 7c4c1832ccd4830f903d7d647466f96aa6755711 (diff) |
Move the sleep earlier, and log it
Diffstat (limited to 'sal/android')
-rw-r--r-- | sal/android/lo-bootstrap.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c index 98db089c2d7d..59960b31e1c6 100644 --- a/sal/android/lo-bootstrap.c +++ b/sal/android/lo-bootstrap.c @@ -1482,9 +1482,15 @@ __attribute__ ((visibility("default"))) void android_main(struct android_app* state) { + JNIEnv *env; struct engine engine; Dl_info lo_main_info; + if (sleep_time != 0) { + LOGI("android_main: Sleeping for %d seconds, start ndk-gdb NOW if that is your intention", sleep_time); + sleep(sleep_time); + } + app = state; memset(&engine, 0, sizeof(engine)); @@ -1495,9 +1501,6 @@ android_main(struct android_app* state) lo_main_argv[0] = lo_main_info.dli_fname; } - if (sleep_time != 0) - sleep(sleep_time); - patch_libgnustl_shared(); extract_files(UNPACK_TREE); |