Called by the #Handler, indirectly by update(). Updates the LocationManager subscription inside the main thread.
()
| 81 | * LocationManager subscription inside the main thread. |
| 82 | */ |
| 83 | @Override public void run() { |
| 84 | try { |
| 85 | locationManager.requestLocationUpdates(locationProvider, |
| 86 | 1000, 0, this); |
| 87 | } catch (SecurityException e) { |
| 88 | submitError(e.toString()); |
| 89 | } catch (IllegalArgumentException e) { |
| 90 | /* this exception was recorded on the Android Market, message |
| 91 | was: "provider=gps" - no idea what that means */ |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | @Override |
| 96 | public void close() { |
nothing calls this directly
no test coverage detected