Skip to content

Commit f3daf21

Browse files
committed
[Android] Print newState for onConnectionStateChange.
1 parent d026e93 commit f3daf21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/pauldemarco/flutterblue/FlutterBluePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ public void onCancel(Object o) {
744744
private final BluetoothGattCallback mGattCallback = new BluetoothGattCallback() {
745745
@Override
746746
public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
747-
Log.d(TAG, "onConnectionStateChange: ");
747+
Log.d(TAG, "onConnectionStateChange: " + newState);
748748
channel.invokeMethod("DeviceState", ProtoMaker.from(gatt.getDevice(), newState).toByteArray());
749749
}
750750

0 commit comments

Comments
 (0)