summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/android/app/button-target.h2
-rw-r--r--firmware/target/hosted/android/lcd-android.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/hosted/android/app/button-target.h b/firmware/target/hosted/android/app/button-target.h
index 326d65872d..5430d7f600 100644
--- a/firmware/target/hosted/android/app/button-target.h
+++ b/firmware/target/hosted/android/app/button-target.h
@@ -56,6 +56,4 @@ void android_ignore_back_button(bool yes);
56#define BUTTON_BOTTOMMIDDLE 0x00080000 56#define BUTTON_BOTTOMMIDDLE 0x00080000
57#define BUTTON_BOTTOMRIGHT 0x00100000 57#define BUTTON_BOTTOMRIGHT 0x00100000
58 58
59#define BUTTON_FORCE_REDRAW 0x00200000
60
61#endif /* _BUTTON_TARGET_H_ */ 59#endif /* _BUTTON_TARGET_H_ */
diff --git a/firmware/target/hosted/android/lcd-android.c b/firmware/target/hosted/android/lcd-android.c
index bb0331db69..2b383741d1 100644
--- a/firmware/target/hosted/android/lcd-android.c
+++ b/firmware/target/hosted/android/lcd-android.c
@@ -146,7 +146,7 @@ Java_org_rockbox_RockboxFramebuffer_surfaceCreated(JNIEnv *env, jobject this,
146 send_event(LCD_EVENT_ACTIVATION, NULL); 146 send_event(LCD_EVENT_ACTIVATION, NULL);
147 /* Force an update, since the newly created surface is initially black 147 /* Force an update, since the newly created surface is initially black
148 * waiting for the next normal update results in a longish black screen */ 148 * waiting for the next normal update results in a longish black screen */
149 queue_post(&button_queue, BUTTON_FORCE_REDRAW, 0); 149 queue_post(&button_queue, BUTTON_REDRAW, 0);
150} 150}
151 151
152/* 152/*