commit | 9edd6be5424a7104d841703f929821a5a77d6c04 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Aug 12 15:49:44 2016 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Aug 12 15:49:44 2016 -0700 |
tree | d27e1f19d7f7e86e03e4122a9736db32d47fcef7 | |
parent | 58635e74edd5c5424ae22d72e6326d2ac89983bd [diff] |
SamplingTimer: Fix issue with summary recording too much The summary is supposed to just hold enough data to continue counting once the device has reset. Since kernel stats reset when the device resets, and the first update is ignored to account for soft resets where the kernel continues running, SamplingTimer should not be recording the last value it saw from /proc/wakelocks in the summary. Bug:30575302 Change-Id: Ic193bc5af9a0ede514e3abc8146523d7316c47d3