MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / run

Method run

android/src/InternalGPS.java:83–93  ·  view source on GitHub ↗

Called by the #Handler, indirectly by update(). Updates the LocationManager subscription inside the main thread.

()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

submitErrorMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected