Loading services/core/java/com/android/server/connectivity/Vpn.java +4 −1 Original line number Diff line number Diff line Loading @@ -1446,7 +1446,10 @@ public class Vpn { // parameters. If that fails, disconnect. if (oldConfig != null && updateLinkPropertiesInPlaceIfPossible(mNetworkAgent, oldConfig)) { // Keep mNetworkAgent unchanged // Update underlying networks if it is changed. if (!Arrays.equals(oldConfig.underlyingNetworks, config.underlyingNetworks)) { setUnderlyingNetworks(config.underlyingNetworks); } } else { // Initialize the state for a new agent, while keeping the old one connected // in case this new connection fails. Loading Loading
services/core/java/com/android/server/connectivity/Vpn.java +4 −1 Original line number Diff line number Diff line Loading @@ -1446,7 +1446,10 @@ public class Vpn { // parameters. If that fails, disconnect. if (oldConfig != null && updateLinkPropertiesInPlaceIfPossible(mNetworkAgent, oldConfig)) { // Keep mNetworkAgent unchanged // Update underlying networks if it is changed. if (!Arrays.equals(oldConfig.underlyingNetworks, config.underlyingNetworks)) { setUnderlyingNetworks(config.underlyingNetworks); } } else { // Initialize the state for a new agent, while keeping the old one connected // in case this new connection fails. Loading