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

Method submitError

android/src/InternalGPS.java:129–139  ·  view source on GitHub ↗
(String msg)

Source from the content-addressed store, hash-verified

127 }
128
129 private void submitError(String msg) {
130 state = STATE_FAILED;
131
132 if (safeDestruct.increment()) {
133 try {
134 listener.onSensorError(msg);
135 } finally {
136 safeDestruct.decrement();
137 }
138 }
139 }
140
141 private void sendLocation(Location location) {
142 Bundle extras = location.getExtras();

Callers 1

runMethod · 0.95

Calls 3

incrementMethod · 0.80
decrementMethod · 0.80
onSensorErrorMethod · 0.65

Tested by

no test coverage detected