1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/target/hosted/android
Thomas Martitz 58e097d4a6 android: Add facility for java code to wait native code to be ready.
Especially when unzipping rockbox.zip, the native code can be initialized
a lot later than the java code. The java code needs to be prevented from
accessing rockbox structures (e.g. current_tick, event queues) before they're
ready.

This commit adds wait_rockbox_ready() and fixes dodgy behavior of starting
rockbox via widget play button, headset remote buttons or multimedia keys.
Also fixes wrong small list items before first redraw.

Change-Id: I1caf925e829a9c1c6bb6e0016d5c80574574c91e
2012-03-22 20:44:52 +01:00
..
app remove cargo-cult empty i2c-target.h 2012-01-08 00:41:33 +00:00
button-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
buttonmap.h Rockbox as an application: Commit current Android port progress. 2010-08-02 20:34:47 +00:00
debug-android.c Android: Minor changes in ldebugf. 2011-08-14 13:58:39 +00:00
dir-target.h android/ypr0: Merge fs-*.c to generic filesystem-unix.c. 2012-01-21 18:39:19 +01:00
lcd-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
pcm-android.c Tweak some PCM drivers for less typecasting with the data pointer. 2012-03-04 08:52:50 -05:00
powermgmt-android.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
system-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
system-target.h android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00
telephony-android.c android: Add facility for java code to wait native code to be ready. 2012-03-22 20:44:52 +01:00