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

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

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

revision 309 by torben, Fri Aug 28 13:56:12 2009 UTC revision 310 by torben, Thu Sep 10 19:09:09 2009 UTC
# Line 139  public class StationLocator implements L Line 139  public class StationLocator implements L
139                  if (lm.getProvider("gps2") == null)                  if (lm.getProvider("gps2") == null)
140                          lm.addTestProvider("gps2", false, true, true, false, false, false, false, 0, Criteria.ACCURACY_FINE );                          lm.addTestProvider("gps2", false, true, true, false, false, false, false, 0, Criteria.ACCURACY_FINE );
141                  lm.setTestProviderEnabled("gps2", true);                  lm.setTestProviderEnabled("gps2", true);
142                  lm.setTestProviderLocation("gps2", aarhus);                  lm.setTestProviderLocation("gps2", kbh);
143          }          }
144                    
145          public static void removeMockLocation(Context cntx) {          public static void removeMockLocation(Context cntx) {

Legend:
Removed from v.309  
changed lines
  Added in v.310

  ViewVC Help
Powered by ViewVC 1.1.20