diff options
author | David 'Digit' Turner <digit@android.com> | 2011-02-02 17:36:34 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-02-02 21:11:55 +0100 |
commit | 07db34976ba1dd045a51c4ab2c7f52479cddcc57 (patch) | |
tree | b669e7b99c01bd8aafd2079321c8cb80302454e0 /android/protocol | |
parent | 7a5ee57895822a769f48ab40e590711a2459e2d1 (diff) | |
download | external_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/protocol')
-rw-r--r-- | android/protocol/ui-commands-impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/protocol/ui-commands-impl.c b/android/protocol/ui-commands-impl.c index f265514..2ca4194 100644 --- a/android/protocol/ui-commands-impl.c +++ b/android/protocol/ui-commands-impl.c @@ -124,7 +124,7 @@ _uiCmdImpl_io_read(void* opaque) status = read(uicmd->sock, uicmd->reader_buffer + uicmd->reader_offset, uicmd->reader_bytes - uicmd->reader_offset); if (status == 0) { - /* Disconnection, meaning that the core process got termonated. */ + /* Disconnection, meaning that the core process got terminated. */ fprintf(stderr, "core-ui-control service got disconnected\n"); uiCmdImpl_destroy(); return; @@ -201,7 +201,7 @@ uiCmdImpl_create(SockAddress* console_socket) return -1; } - // Initialze UI command reader. + // Initialize UI command reader. _uiCmdImpl.sock = core_connection_get_socket(_uiCmdImpl.core_connection); if (qemu_set_fd_handler(_uiCmdImpl.sock, _uiCmdImpl_io_read, NULL, &_uiCmdImpl)) { |