Fixing nulls

This commit is contained in:
Brock Whitten 2010-02-16 10:28:07 -08:00
parent 17528c15bb
commit c638fbfa69

View File

@ -66,8 +66,10 @@ public class GeoListener {
// This stops the listener
void stop()
{
mGps.stop();
mNetwork.stop();
if(mGps != null)
mGps.stop();
if(mNetwork != null)
mNetwork.stop();
}
public Location getCurrentLocation() {