commit | 9c19fc62ddd9d1b371cb3ead4e10bb5ff1100a6c | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Feb 15 10:53:00 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Feb 15 10:53:00 2012 -0800 |
tree | c0f4ef70b29af5b946a58359d98c6cadb13c03c1 | |
parent | 8ff39c8b303bb0194c89bb2b74a6793ddf7d8afe [diff] |
Use elapsedRealtime() to avoid NITZ changes. When calculating duration of events, use elapsedRealtime() which is monotonic during a single boot, and isn't subject to wall clock changes triggered by NITZ. Change-Id: I127440dc357e639e1bf91509a215e9ae4f40d310