(BluetoothGatt gatt,
BluetoothGattDescriptor descriptor,
int status)
| 234 | } |
| 235 | |
| 236 | @Override |
| 237 | public void onDescriptorWrite(BluetoothGatt gatt, |
| 238 | BluetoothGattDescriptor descriptor, |
| 239 | int status) { |
| 240 | synchronized(enableNotificationQueue) { |
| 241 | currentEnableNotification = enableNotificationQueue.poll(); |
| 242 | if (currentEnableNotification != null) { |
| 243 | if (!doEnableNotification(currentEnableNotification)) |
| 244 | currentEnableNotification = null; |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | @Override |
| 250 | public void onServicesDiscovered(BluetoothGatt gatt, |
nothing calls this directly
no test coverage detected