Cherry picking the listeners to get GeoLocation to work

This commit is contained in:
Joe Bowser 2009-02-25 13:23:30 -08:00
parent 294694ef5d
commit e179ca023c
2 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ public class GpsListener implements LocationListener {
public Location getLocation() public Location getLocation()
{ {
cLoc = mLocMan.getLastKnownLocation(LocationManager.GPS_PROVIDER);
return cLoc; return cLoc;
} }

View File

@ -50,6 +50,7 @@ public class NetworkListener implements LocationListener {
public Location getLocation() public Location getLocation()
{ {
cLoc = mLocMan.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
return cLoc; return cLoc;
} }