Merge "Set legacy type for VPN" am: e19a7da47f am: 49082c0065 am: 035d2579c3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1733495 Change-Id: I56392086895a375d174dfa40c7e78506850acef5
This commit is contained in:
@@ -1250,6 +1250,8 @@ public class Vpn {
|
||||
updateState(DetailedState.CONNECTING, "agentConnect");
|
||||
|
||||
final NetworkAgentConfig networkAgentConfig = new NetworkAgentConfig.Builder()
|
||||
.setLegacyType(ConnectivityManager.TYPE_VPN)
|
||||
.setLegacyTypeName("VPN")
|
||||
.setBypassableVpn(mConfig.allowBypass && !mLockdown)
|
||||
.build();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user