commit | 318a67d81fb990b015ae96a3d15d74887f4860db | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Sat Feb 10 20:05:22 2018 -0800 |
committer | Sudheer Shanka <sudheersai@google.com> | Mon Feb 12 16:57:23 2018 -0800 |
tree | 6b41f1b9e0d5d7ebb7ddfdd140b026ecbb0f6070 | |
parent | f8ed7695adca329081eb925c4b9b8edad73cd3da [diff] |
Update the internal state before sending the deltas to callback. It's possible that the callback can trigger removing the cpu time correspoding to a particular uid, we don't want to re-add the state for that uid after this. Fixes: 63144979 Test: cts-tradefed run singleCommand cts-dev -m CtsIncidentHostTestCases -t \ com.android.server.cts.BatteryStatsValidationTest Change-Id: I29f208ea5cb18f05ad16dfc22f8dea077cc186fb