commit | e6ece90a586d6378d099a547451c918db91faebb | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Thu Jan 02 13:31:10 2020 -0800 |
committer | Philip P. Moltmann <moltmann@google.com> | Thu Jan 02 13:36:56 2020 -0800 |
tree | 92404621e3f3a6da61c696f79d48c8adb7aec965 | |
parent | 856ce4a17d8cfd4d894b1f3f28b0e224a4e40913 [diff] |
Use elapsedRealtime to measure in-progress app-ops ElapsedRealtime is guaranteed monotonic, hence it won't jump back and forth in time. currentTimeInMS might jump back in time effectively causing a in-progress app-op with negative duration. Test: TH Fixes: 146853020 Change-Id: I6f4c1c29d651e39c914b5d00f88407abbedffe0c