summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2018-12-27 13:16:02 -0800
committerJoe Onorato <joeo@google.com>2019-04-02 19:19:13 +0000
commit5da1b3dc059ec71308383842707a248b40f5cade (patch)
tree54057e43449d403021e7970494ac91f5002ff506 /tools/aapt2/java/JavaClassGenerator.cpp
parente465eb1be5748a3bd577ec578512d56894571de0 (diff)
Fix ConditionVariable.block to use elapsedRealtime.
System.currentTimeMillis() is NEVER okay to use to calculate a time delta. The original spirit of this probably should have used SystemClock.uptimeMillis(), but use SystemClock.elapsedRealtime because it's the same as System.currentTimeMillis() in all the cases where System.currentTimeMillis() is correct. Test: Treehugger Change-Id: Ib6e090425af83e7e822fb12814d87e8a37e2d2ac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions