Skip to content
Commit 6fd62b3f authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Rubin Xu
Browse files

Support seamless handover between VPN fds.

This used to work before SOCK_DESTROY allowed us to close
connections when VPNs connected and disconnected. Instead of
doing this like the old code did by registering a new
NetworkAgent, support (limited) seamless handover on the
same NetworkAgent and netId.

Bug: 64692591
Test: cts-tradefed run commandAndExit cts-dev -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideVpnTests#testSeamlessHandover
Change-Id: Idad0ec5946e7eb9e1f4a13c92ea7138de6a46f16
Merged-In: Idad0ec5946e7eb9e1f4a13c92ea7138de6a46f16
(cherry picked from commit d9dbfa65)
parent b62aa315
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