aboutsummaryrefslogtreecommitdiffstats
path: root/android/main-common.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-02 17:36:34 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-02-02 21:11:55 +0100
commit07db34976ba1dd045a51c4ab2c7f52479cddcc57 (patch)
treeb669e7b99c01bd8aafd2079321c8cb80302454e0 /android/main-common.c
parent7a5ee57895822a769f48ab40e590711a2459e2d1 (diff)
downloadexternal_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.zip
external_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.tar.gz
external_qemu-07db34976ba1dd045a51c4ab2c7f52479cddcc57.tar.bz2
Simplify UI-only sources.
Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c to use a generic Looper object instead of a crummy event loop. We still need to implement qemu_set_fd_handler for two sources under android/protocol/ but this will be cleaned up later. Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f
Diffstat (limited to 'android/main-common.c')
-rw-r--r--android/main-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/main-common.c b/android/main-common.c
index 23ba5b9..bcae501 100644
--- a/android/main-common.c
+++ b/android/main-common.c
@@ -315,7 +315,9 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame)
}
snprintf(buf, sizeof buf, "width=%d,height=%d", width, height);
+#if !defined(CONFIG_STANDALONE_UI) && !defined(CONFIG_STANDALONE_CORE)
android_display_init(ds, qframebuffer_fifo_get());
+#endif
}
/* list of skin aliases */