commit | edf05fb9dddfef041d21964f889028294e34f7a3 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Jan 05 11:44:54 2018 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Jan 10 11:37:31 2018 +0000 |
tree | 80cfd6d99c413ca6400672c471922ce754672b27 | |
parent | e86e0fe218ef42ef7259715ce5d7f414f805c433 [diff] |
WifiLockManager: Fix event ordering for full Wifi locks. Log the acquire before the release to avoid "holes" in the collected data due to an acquire event immediately after a release event in the case where the new and old workSource have one or more attribution UIDs in common between them. BatteryStats can correctly match "nested" acquire / release pairs. Test: WifiLockManagerTest Bug: 62390666 Change-Id: I13f2f112be96e23cdcbf270b3b0fa4a0077b9ba4