commit | 4decf59c895a6cc09b4c5176b995185213acc388 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Dec 15 15:47:24 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Wed Jan 13 09:39:01 2021 +0900 |
tree | f92c06d7e9bb3649975230041f42457c7fdd5652 | |
parent | 5b51530d0d960ee21a26ec4460abfe49b3657e5a [diff] |
Stop using VPNs in getActiveNetworkForUidInternal. After this CL, ConnectivityService no longer needs to grab the VPN lock and access Vpn objects to determine connectivity state. Also make a synchronized (mVpns) block smaller. Bug: 173331190 Test: existing tests in ConnectivityServiceTest Change-Id: I3297b3ab8e75bdf4902c62dd7e492c3634cfc51f