Skip to content
Commit d00d440f authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

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
parent feda5907
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment