summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlison Cichowlas <asc@google.com>2017-04-25 18:04:40 -0400
committerAlison Cichowlas <asc@google.com>2017-04-26 17:05:11 +0000
commitb7f67abe3475e5397a065826157e1ef9eacb8522 (patch)
tree59d523bf3087e5a9942a917020ccbc606646c634 /tools/aapt2/java/JavaClassGenerator.cpp
parent0f8764485b055d5f4904a3db201ca338b398347a (diff)
Use uptimeMillis instead of currentTimeMillis for interval calculation.
uptime is guaranteed monotonic; currentTime may go backwards in the event of NTP updates or other wackiness. Test: manual sanity check of logs; android.support.test.metricshelper.MetricsAssertsTest passes Bug: 37538546, 18584861 Change-Id: I222b20be9d561e1184b11155fe44c574d90872a5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions