From 23491ee60c6febdde229924b0b05f15082f68c15 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Sun, 14 Oct 2018 22:37:55 +0200 Subject: [PATCH] Remove call to readPhy added in 1929a7546 --- .../openscale/core/bluetooth/BluetoothCommunication.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java index f33030ff..480f6b19 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothCommunication.java @@ -629,10 +629,6 @@ public abstract class BluetoothCommunication { public void run() { stopLeScan(); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { - gatt.readPhy(); - } - connectionEstablished = true; setBtStatus(BT_STATUS_CODE.BT_CONNECTION_ESTABLISHED); }