mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-23 08:43:15 +02:00
Don't use random as it might give a standard UUID
This commit is contained in:
@@ -41,7 +41,7 @@ public class BluetoothGattUuidTest {
|
||||
assertEquals("0x00010000",
|
||||
BluetoothGattUuid.prettyPrint(BluetoothGattUuid.fromShortCode(0x10000)));
|
||||
|
||||
final UUID uuid = UUID.randomUUID();
|
||||
final UUID uuid = UUID.fromString("12345678-1234-5678-9012-123456789012");
|
||||
assertEquals(uuid.toString(), BluetoothGattUuid.prettyPrint(uuid));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user