commit | 0f48c45ec06f98b10b17ebe0231b0e60508c135f | [log] [tgz] |
---|---|---|
author | Peng Xu <pengxu@google.com> | Tue Nov 29 17:54:50 2016 -0800 |
committer | Peng Xu <pengxu@google.com> | Sat Dec 17 01:59:57 2016 +0000 |
tree | b109a153a44eae359576593aa0534189c9c740dc | |
parent | c556562471e8ed27360adae57e17fc4bfa2cfa6c [diff] |
[sensorservice] Init batterystats service when needed This avoid race condition at parallel services start up that may results in sensor power usage not being properly recorded. Test: check all sensors, they still work Bug: 33199244 Bug: 33623300 Change-Id: I48946667db54fc72d9be6c13b981b44d1bab88c2 (cherry picked from commit 0a031596e12ce0f081b9ee116f48f4f4635d516e)