opentrace-community / opentrace-android

OpenTrace Android app. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
577 stars 225 forks source link

Fix bug in getTemporaryIds() #30

Open darrenfoong opened 4 years ago

darrenfoong commented 4 years ago

There is no need to multiply System.currentTimeMillis() by 1000 as it is already in milliseconds.

Also, it is better to use Instant, instead of performing accident-prone conversions (which appear often in the current code).