commit | 82f9a007c15103c9a26af611d2c9f4c2ba40ed9e | [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 | a79dd3c86700a472c32cbbf14748fcbaeee5627b | |
parent | db20f89e6d6cf9c41d547db0744d75cc3564515c [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