Skip to content
Commit 78620247 authored by lucaslin's avatar lucaslin
Browse files

Add NET_CAPABILITY_NOT_VPN when requesting test network

Add NET_CAPABILITY_NOT_VPN can prevent Ikev2VpnNetworkCallback
receiving onAvailable when VPN is connected. Otherwise, the VPN
network will be misused as underlying network to establish VPN
connection again, which is a wrong behavior.

Bug: 228574221
Test: atest CtsNetTestCases:Ikev2VpnTest
Change-Id: Iac85caa0f5bd37a7e79c14fe796737d7b36fa4bd
parent c4227ee2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment