diff options
author | Philip P. Moltmann <moltmann@google.com> | 2020-01-02 13:31:10 -0800 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2020-01-02 13:36:56 -0800 |
commit | e6ece90a586d6378d099a547451c918db91faebb (patch) | |
tree | 92404621e3f3a6da61c696f79d48c8adb7aec965 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions