commit | 083b00b5fb228c358dfde93ba639aff748c9a073 | [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 | fee5e4e34ce36aafca246e62b9fcf9628ec7a6eb [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