commit | fa94ff074d3200fae2f5d14a6d0f454e2ad23cfa | [log] [tgz] |
---|---|---|
author | Hakan Gustavsson <hakan.gustavsson@sonyericsson.com> | Tue Feb 23 09:12:38 2010 +0100 |
committer | Jean-Baptiste Queru <jbq@google.com> | Mon Apr 19 16:16:23 2010 -0700 |
tree | cb29be3fc592830ef4ae34c2e93cfcd6eee0bdfe | |
parent | 69acb6b746c82f88607b3365795ebb3279188eed [diff] |
GpsLocationProvider: Store new Location before onGpsStatusChanged is sent In reportLocation() the new location is now stored before the callback onGpsStatusChanged(GPS_EVENT_FIRST_FIX) is sent. This will prevent users from getting a faulty location from LocationManager.getLastKnownLocation() after receiving onGpsStatusChanged(GPS_EVENT_FIRST_FIX). Change-Id: I6c654b2acbf2e216c99058a20f068bf4721a1c7a