(String msg)
| 102 | } |
| 103 | |
| 104 | private void submitError(String msg) { |
| 105 | haveFlytecMovement = false; |
| 106 | flytecSatellites = 0; |
| 107 | state = STATE_FAILED; |
| 108 | |
| 109 | if (safeDestruct.increment()) { |
| 110 | try { |
| 111 | listener.onSensorError(msg); |
| 112 | } finally { |
| 113 | safeDestruct.decrement(); |
| 114 | } |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | private boolean doEnableNotification(BluetoothGattCharacteristic c) { |
| 119 | BluetoothGattDescriptor d = c.getDescriptor(BluetoothUuids.CLIENT_CHARACTERISTIC_CONFIGURATION); |
no test coverage detected