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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user