From f13a7148fc68369b1131dc81c06319b74c81c2fe Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Wed, 2 Mar 2016 11:40:10 -0800 Subject: [PATCH] Don't complain about the public key we don't use --- .../kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java b/src/org/kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java index 5121562c..a21a4185 100644 --- a/src/org/kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java +++ b/src/org/kde/kdeconnect/Backends/LanBackend/LanPairingHandler.java @@ -87,8 +87,6 @@ public class LanPairingHandler extends BasePairingHandler { byte[] publicKeyBytes = Base64.decode(publicKeyContent, 0); mDevice.publicKey = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); } catch (Exception e) { - e.printStackTrace(); - Log.e("KDE/Device","Pairing exception: Received incorrect key"); //IGNORE }