commit | b3a1badce56dc5714b8732a9d59b0a4a919ed9c1 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri May 26 11:50:40 2017 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Fri Jun 09 15:23:04 2017 -0700 |
tree | f67bf18c3a7f490c34992c59038886a982f37e31 | |
parent | 938ffbc8725e0a5770fbe51af8c50e607f68a9bc [diff] |
BatteryStats: Cleanup external stats collection Create a BatteryStatsWorker that internalizes the stats collection, and returns a Future<?> so that uses-cases requiring synchronous results can still wait on the async task. Bug: 37645919 Bug: 38296815 Test: manual Change-Id: I5b935e1877d9a17d2617f01478faa77e8a52a258