commit | d00d440f5ca8972693f7e623cfbd810ead1b338f | [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 | 8a85440ee0e715e173d47647d1a47088f629d5c1 | |
parent | feda5907f2e343724efc2ad3cfbebc443dbb0470 [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