diff options
Diffstat (limited to 'firmware/target/hosted/android/lcd-android.c')
-rw-r--r-- | firmware/target/hosted/android/lcd-android.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/lcd-android.c b/firmware/target/hosted/android/lcd-android.c index 4e4ea66268..15c844bbd6 100644 --- a/firmware/target/hosted/android/lcd-android.c +++ b/firmware/target/hosted/android/lcd-android.c | |||
@@ -122,6 +122,9 @@ Java_org_rockbox_RockboxFramebuffer_surfaceCreated(JNIEnv *env, jobject this, | |||
122 | connect_with_java(env, this); | 122 | connect_with_java(env, this); |
123 | display_on = true; | 123 | display_on = true; |
124 | 124 | ||
125 | /* need to wait for button_queue to be valid to post to */ | ||
126 | wait_rockbox_ready(); | ||
127 | |||
125 | send_event(LCD_EVENT_ACTIVATION, NULL); | 128 | send_event(LCD_EVENT_ACTIVATION, NULL); |
126 | /* Force an update, since the newly created surface is initially black | 129 | /* Force an update, since the newly created surface is initially black |
127 | * waiting for the next normal update results in a longish black screen */ | 130 | * waiting for the next normal update results in a longish black screen */ |