mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 13:17:43 +00:00
Previous commit was blocking links.add(link) for unpaired devices
Public key was set to null for unpaired devices and its Base64 encoding was causing an exception. REVIEW: 122806
This commit is contained in:
parent
1e34a42b8f
commit
ea514c0a19
@ -328,8 +328,6 @@ public class Device implements BaseLink.PackageReceiver {
|
||||
this.name = identityPackage.getString("deviceName", this.name);
|
||||
SharedPreferences.Editor editor = settings.edit();
|
||||
editor.putString("deviceName", this.name);
|
||||
String encodedPublicKey = Base64.encodeToString(publicKey.getEncoded(), 0);
|
||||
editor.putString("publicKey", encodedPublicKey);
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user