commit | 5357e642bcd0b97e6afd89ae005d17a2d813734b | [log] [tgz] |
---|---|---|
author | Chris Wren <cwren@android.com> | Wed Apr 12 16:19:57 2017 -0400 |
committer | Chris Wren <cwren@android.com> | Wed Apr 12 19:14:30 2017 -0400 |
tree | 99a6b098b8e5f384430064000142f59d286ce238 | |
parent | 88ab6c1304e3f9a2b1d96deece34bb7cbec27d8f [diff] |
don't interpret milliseconds as nanoseconds The bug fix is in the readEvents() wrapper, but also make sure that both the Event and LogReader interfaces only expose milliseconds. No test changes, because the Java-layer didn't change, the bug was in the JNI wrapper, below the level that's easily testable. Bug: 37205954 Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics Change-Id: I0c4ad9233a81bcf585ab525b3a5cc63fbb645093