(String msg)
| 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(); |
no test coverage detected