2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 13:47:41 +00:00

Don't complain about the public key we don't use

This commit is contained in:
Albert Vaca
2016-03-02 11:40:10 -08:00
parent c0d21e986c
commit f13a7148fc

View File

@@ -87,8 +87,6 @@ public class LanPairingHandler extends BasePairingHandler {
byte[] publicKeyBytes = Base64.decode(publicKeyContent, 0); byte[] publicKeyBytes = Base64.decode(publicKeyContent, 0);
mDevice.publicKey = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(publicKeyBytes)); mDevice.publicKey = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(publicKeyBytes));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
Log.e("KDE/Device","Pairing exception: Received incorrect key");
//IGNORE //IGNORE
} }