mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 14:15:14 +00:00
Added a comment
This commit is contained in:
@@ -89,7 +89,7 @@ class DeviceInfo(
|
||||
fun fromIdentityPacketAndCert(identityPacket: NetworkPacket, certificate: Certificate) =
|
||||
with(identityPacket) {
|
||||
DeviceInfo(
|
||||
id = getString("deviceId"),
|
||||
id = getString("deviceId"), // Redundant: We could read this from the certificate instead
|
||||
name = getString("deviceName", "unknown"),
|
||||
type = DeviceType.fromString(getString("deviceType", "desktop")),
|
||||
certificate = certificate,
|
||||
|
Reference in New Issue
Block a user