commit | 58fec06bd598633529e8a27a9c144c5726c50dbd | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Mon Nov 16 23:41:21 2020 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Nov 27 15:35:38 2020 +0900 |
tree | 8db048c65eb8d4a5f421a0fbe8a8940becb2fc66 | |
parent | d00d440f5ca8972693f7e623cfbd810ead1b338f [diff] |
Stop accessing VPNs in checkConnectivityDiagnosticsPermissions. Currently, checkConnectivityDiagnosticsPermissions takes the VPN lock to examine the VPN's underlying networks. Use the underlying network data that is available in ConnectivityService instead. Bug: 173331190 Test: passes existing tests in ConnectivityServiceTest Change-Id: Ia1c366c5e9974d4d2c4b38030e66c007d62020ff