mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +00:00
Unpair if something goes wrong while loading a remembered device
This commit is contained in:
@@ -102,6 +102,7 @@ public class Device implements BaseLink.PackageReceiver {
|
||||
publicKey = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(publicKeyBytes));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
unpair();
|
||||
Log.e("KDE/Device","Exception");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user