Commit a955eee4 authored by Administrator's avatar Administrator

change device random id from ID to

parent ddc686a6
...@@ -46,7 +46,7 @@ public class ClientIdentifier { ...@@ -46,7 +46,7 @@ public class ClientIdentifier {
} }
} }
clientIdInMemory = generateClientId() + "_" + new Random().nextInt(10000); clientIdInMemory = generateClientId() + "_" + UUID.randomUUID().toString();
try { try {
CommonUtils.writeFile(file, clientIdInMemory); CommonUtils.writeFile(file, clientIdInMemory);
} catch (IOException e) { } catch (IOException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment