OSDN Git Service

AI 149496: Backport emulator-related donut fixes into cupcake.
authorDavid Turner <nobody@android.com>
Tue, 2 Jun 2009 19:30:48 +0000 (12:30 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Tue, 2 Jun 2009 19:30:48 +0000 (12:30 -0700)
  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 <name>=<value> 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

index d55fb22..aa919a0 100644 (file)
@@ -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;
 }