commit | 6b993a7408b64e9bf09cfa1a626f94752d6ed7f0 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Fri Dec 06 17:26:41 2019 -0800 |
committer | Varun Shah <varunshah@google.com> | Fri Dec 06 17:26:41 2019 -0800 |
tree | 5615106c779a6820663a3f7c459e52721864b265 | |
parent | 55ae88164962ee6f139b9580cc829cb10afe212f [diff] |
Ensure UsageStats data is read correctly. Add documentation that the IntervalStats object passed into the read methods in UsageStatsDatabase should ideally be used only as a temporary reading object unless the caller specifically has other use-cases. Also updated all the internal calls to match this behavior. Bug: n/a Test: atest UsageStatsDatabaseTest Change-Id: Id3aa2575fa29bf5adc6a52ee8e75690aecf50b8e