diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/utils/DeviceInfo.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/utils/DeviceInfo.kt index f1c04b9a7..cb8831ec0 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/utils/DeviceInfo.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/utils/DeviceInfo.kt @@ -45,7 +45,7 @@ abstract class DeviceInfo( abstract val apn: ByteArray - val guid: ByteArray get() = generateGuid(androidId, macAddress) + val guid: ByteArray by lazy { generateGuid(androidId, macAddress) } fun generateDeviceInfoData(): ByteArray { @Serializable