From c69847d6e5b418ef8e77893de73925aac5c64b5f Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 2 Jun 2009 12:30:48 -0700 Subject: [PATCH] AI 149496: Backport emulator-related donut fixes into cupcake. This includes the following fixes: - remove potential qemud crash at system boot - fix GPS fix emulation - fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems) - add -prop = option to add system properties on boot - allow F5 keybinding for SEARCH on keyboard-less hardware configurations - allow skins to provide a "search" button - fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation Automated import of CL 149496 --- gps/gps_qemu.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gps/gps_qemu.c b/gps/gps_qemu.c index d55fb22..aa919a0 100644 --- a/gps/gps_qemu.c +++ b/gps/gps_qemu.c @@ -752,7 +752,7 @@ gps_state_init( GpsState* state ) return; } - D("gps emulation will read from %s", device); + D("gps emulation will read from '%s' qemud channel", QEMU_CHANNEL_NAME ); if ( socketpair( AF_LOCAL, SOCK_STREAM, 0, state->control ) < 0 ) { LOGE("could not create thread control socket pair: %s", strerror(errno)); @@ -867,9 +867,6 @@ qemu_gps_delete_aiding_data(GpsAidingData flags) static int qemu_gps_set_position_mode(GpsPositionMode mode, int fix_frequency) { // FIXME - support fix_frequency - // only standalone supported for now. - if (mode != GPS_POSITION_MODE_STANDALONE) - return -1; return 0; }