commit | fd828776e37a5a8405a9ce0d4175d7971efbedcd | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Jan 02 17:23:09 2018 +0000 |
committer | Narayan Kamath <narayan@google.com> | Wed Jan 03 09:16:36 2018 +0000 |
tree | d65f63f0dfa4e7d757543e86a8e86f80dd02d796 | |
parent | 399369eecc7a90d226e75f5ab136b894a37e5bcc [diff] |
WifiLockManager: Use WorkSource.isEmpty instead of WorkSource.size. Required to support WorkSources that contain WorkChains (chained attribution). This change also adds smoke tests to make sure that this works end-to-end from the WifiLockManager's perspective. Test: WifiLockManagerTest Bug: 62390666 Change-Id: I4abb22c62bf9d21e4a661dcc4af2fb1b4aa0efd1