/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/LocationLookup.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/LocationLookup.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 340 by torben, Wed Sep 23 12:51:49 2009 UTC revision 341 by torben, Thu Sep 24 08:19:23 2009 UTC
# Line 73  public class LocationLookup implements L Line 73  public class LocationLookup implements L
73                  if (hasGps) {                  if (hasGps) {
74                          if (!location.getProvider().equals("gps")) {                          if (!location.getProvider().equals("gps")) {
75                                  return; // at least give the gps a chance                                  return; // at least give the gps a chance
76                          } else if (location.getAccuracy() > 128) {                          } else if (location.getAccuracy() > 256) {
77                                  return; //if we have a gps provider lets wait for a more precise fix                                  return; //if we have a gps provider lets wait for a more precise fix
78                          }                          }
79    

Legend:
Removed from v.340  
changed lines
  Added in v.341

  ViewVC Help
Powered by ViewVC 1.1.20