Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
hardware_libhardware_legacy
Commits
5ddef140
Commit
5ddef140
authored
15 years ago
by
David 'Digit' Turner
Committed by
The Android Open Source Project
15 years ago
Browse files
Options
Download
Plain Diff
am
86a08ee8
: Fix GPS emulation.
Merge commit '
86a08ee8
' * commit '
86a08ee8
': Fix GPS emulation.
parents
8fd6a6f5
86a08ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
gps/gps_qemu.c
gps/gps_qemu.c
+1
-4
No files found.
gps/gps_qemu.c
View file @
5ddef140
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment