commit | fee5e4e34ce36aafca246e62b9fcf9628ec7a6eb | [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 | 8000e03ec993c62227e0577ff0543d1360cfe751 [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