Skip to content

Commit ae31c30

Browse files
committed
chore: remove debug logging
1 parent 0aa6d67 commit ae31c30

File tree

1 file changed

+0
-4
lines changed
  • packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/ble

1 file changed

+0
-4
lines changed

packages/reactive_ble_mobile/android/src/main/kotlin/com/signify/hue/flutterreactiveble/ble/ReactiveBleClient.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ open class ReactiveBleClient(private val context: Context) : BleClient {
429429

430430
when (update) {
431431
is ConnectionUpdateSuccess -> {
432-
Log.w("BondStateDebug", "Connection updated for ${update.deviceId}: $update.d")
433432
val device = rxBleClient.getBleDevice(update.deviceId)
434433
bondUpdateBehaviorSubject.onNext(
435434
BondUpdate(update.deviceId, device.getBondState().code)
@@ -450,12 +449,9 @@ open class ReactiveBleClient(private val context: Context) : BleClient {
450449
val state = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR)
451450

452451
if (device != null && state != BluetoothDevice.ERROR) {
453-
Log.w("BondStateDebug", "Bond update intent received for $[${device.address}]: $state")
454452
bondUpdateBehaviorSubject.onNext(
455453
BondUpdate(device.address, BondState.fromRaw(state).code)
456454
)
457-
} else {
458-
Log.w("BondStateDebug", "Bond update intent received but device is $device and state is $state")
459455
}
460456
}
461457
}

0 commit comments

Comments
 (0)