diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2020-12-10 00:32:04 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-12-10 00:41:06 +0900 |
commit | a07cabc065c5b00c6937b8fd8e357957e2cd15a5 (patch) | |
tree | 104e216d8061184ec32eeb4ec28ee9fae264fca9 /tools/dump-coverage/dump_coverage.cc | |
parent | e4e9d1f97e1d1ba7424eaef94623970e6600d8c1 (diff) |
Add a convenience method to update a network's capabilities.
Almost all calls to ConnectivityService#updateCapabilities use
all the current data in the network, and thus call the method
like this:
updateCapabilities(nai.getCurrentScore(), nai, nai.networkCapabilities);
Introduce a convenience method to simplify this frequent use case.
Bug: 173331190
Test: passes existing ConnectivityService tests
Change-Id: I6eb6d92bd159f2575d10a929bd59f6dd1b7a4b4e
Diffstat (limited to 'tools/dump-coverage/dump_coverage.cc')
0 files changed, 0 insertions, 0 deletions