Commit 5ddef140 authored by David 'Digit' Turner's avatar David 'Digit' Turner Committed by The Android Open Source Project
Browse files

am 86a08ee8: Fix GPS emulation.

Merge commit '86a08ee8'

* commit '86a08ee8':
  Fix GPS emulation.
parents 8fd6a6f5 86a08ee8
......@@ -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));
......@@ -853,9 +853,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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment