Make the impossible null location slightly less impossible so Location doesn't throw an

exception anymore.
This commit is contained in:
Matthew Simmons
2011-03-11 17:37:50 -05:00
parent c17593d932
commit f7a1046c67
@@ -902,7 +902,7 @@ public class TrackRecordingService extends Service implements LocationListener {
// Make it an impossible location.
Location l = new Location("");
l.setLatitude(100);
l.setLongitude(200);
l.setLongitude(180);
wpt.setLocation(l);
} else {
// A null location is ok, and expected on track start.