commit | db20f89e6d6cf9c41d547db0744d75cc3564515c | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Nov 17 15:58:21 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Nov 27 15:35:38 2020 +0900 |
tree | a1877631e70aee25d51527700b34bdd9be0c548b | |
parent | 4b1cd16a768e87c11bdad5c66fe45bd5a8f2dd98 [diff] |
Stop accessing VPNs in getAllVpnInfo. This is only used for NetworkStatsService and only called on the handler thread, so it can be replaced by a simple scan over mNetworkAgentInfos without having to take any locks. Bug: 173331190 Test: passes existing tests in ConnectivityServiceTest Change-Id: I194e0cc55603a0f59f7138f38329f505b55da132