From 26c1c2ac6792c0c4c14a5d6deadfdda099cd4f8c Mon Sep 17 00:00:00 2001 From: Albert Vaca Cintora Date: Tue, 7 Mar 2023 18:01:08 +0100 Subject: [PATCH] Remove commented if --- .../kdeconnect/Backends/BluetoothBackend/BluetoothLink.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/org/kde/kdeconnect/Backends/BluetoothBackend/BluetoothLink.java b/src/org/kde/kdeconnect/Backends/BluetoothBackend/BluetoothLink.java index 7d665b5f..e69fea2d 100644 --- a/src/org/kde/kdeconnect/Backends/BluetoothBackend/BluetoothLink.java +++ b/src/org/kde/kdeconnect/Backends/BluetoothBackend/BluetoothLink.java @@ -193,11 +193,7 @@ public class BluetoothLink extends BaseLink { /* public boolean isConnected() { - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) { - return socket.isConnected(); - } else { - return true; - } + return socket.isConnected(); } */ }