mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-13 06:30:13 +08:00
Make random device info more random
This commit is contained in:
parent
786c9f3b23
commit
28f48e5c78
@ -45,7 +45,7 @@ actual open class SystemDeviceInfo actual constructor() : DeviceInfo() {
|
||||
@Transient
|
||||
final override lateinit var context: Context
|
||||
|
||||
override val display: ByteArray = "MIRAI.200122.001".toByteArray()
|
||||
override val display: ByteArray = "MIRAI.${getRandomString(6, '0'..'9')}.001".toByteArray()
|
||||
override val product: ByteArray = "mirai".toByteArray()
|
||||
override val device: ByteArray = "mirai".toByteArray()
|
||||
override val board: ByteArray = "mirai".toByteArray()
|
||||
|
Loading…
Reference in New Issue
Block a user