Commit graph

7 commits

Author SHA1 Message Date
David Turner
613d25b8c0 Fix a hideous bug in the GPS emulation.
This fixes a long-standing bug in the GPS emulation, and comes
from an open-source contributor (Rene de Groot)

See https://review.source.android.com/#change,10251
2009-08-21 23:47:50 -07:00
Mike Lockwood
4403519ac6 gps: Add hooks for GPS location injection.
This will allow injecting cell ID location to the GPS
(not implemented yet).
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-11 12:44:52 -04:00
David 'Digit' Turner
86a08ee892 Fix GPS emulation.
The problem was that qemu_gps_set_position_mode() was called with the value
GPS_POSITION_MODE_MS_BASED, which corresponds to AGPS (Assisted GPS), and
returned an error (which was not properly filtered by the JNI caller, but this
is the subject of another change).

This explains why GPS emulation doesn't work in the 1.5_r1 SDK. Unfortunately,
this fix requires generating a new system image for 1.5_r2 :-(

By the way, Mike, I don't understand why this position mode is being passed.
Looking at the code in GpsLocationProvider.java, I believe that this can only
happen if a SUPL host is given by the network, and I don't think this is the
case in the emulator, is it?
2009-05-20 14:18:45 +02:00
Mike Lockwood
049ae36fcb GPS: Generalize SUPL support to include AGPS for CDMA
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-11 09:47:59 -04:00
The Android Open Source Project
cc490161f6 auto import from //depot/cupcake/@135843 2009-03-03 19:32:14 -08:00
The Android Open Source Project
3bbe5328cd auto import from //depot/cupcake/@135843 2009-03-03 18:28:48 -08:00
The Android Open Source Project
5ce01674d4 auto import from //branches/cupcake/...@126645 2009-01-15 16:12:14 -08:00