Reputation: 5802
I am developing an app, and from time to time I am getting this weird message:
W/SystemClock(11814): time going backwards: prev 9003590393023(ioctl) vs now 9003584533648(ioctl), tid=11856
what does it mean? why does it happen?
thanks!
Upvotes: 7
Views: 1397
Reputation: 1163
Many devices will OTA update their internal clock multiple times per hour. You can usually capture a log statement when it happens (like OTA). My understanding it that these updates only affect what is returned by System.currentTimeMillis(). This is why it is recommended to use android's SystemClock interface for timing.
Upvotes: 0
Reputation: 1006944
what does it mean?
Presumably your device's clock was synchronized with another source (NITZ, SNTP, etc.), and it happened to be that your device was running fast.
Upvotes: 6