commit | 8ed8915e536c873dd05b7f86656801e6d82aabe5 | [log] [tgz] |
---|---|---|
author | junyulai <junyulai@google.com> | Thu Oct 25 10:56:17 2018 +0800 |
committer | junyulai <junyulai@google.com> | Thu Oct 25 16:43:50 2018 +0800 |
tree | a897ef3bbb4c5480a2fa5f02606c46b3f52fa162 | |
parent | a01c77a499d9037a21b8ea1a5cd1df1a7dea7f25 [diff] |
No-op refactoring of VPN lockdown status check. Currently, if VPN lockdown is disabled, the blocking judgement inside VPN will return false immediately. It will make ConnectivityService hard to check blocked status by a given VPN lockdown status. Thus, move this check into ConnectivityService and check it externally. Bug: 117814902 Test: 1. manual test with 3rd-party vpn app 2. runtest frameworks-net Change-Id: Ia8319b1a1a12f1058c24badf2431f2ec69bc78e7