Snap for 5180536 from 016e5502ac to pi-platform-release
Change-Id: Icc5d32680bf08d75f01937a71eb845b89018cce6
This commit is contained in:
@@ -33,6 +33,7 @@ import android.net.NetworkSpecifier;
|
|||||||
import android.net.StringNetworkSpecifier;
|
import android.net.StringNetworkSpecifier;
|
||||||
import android.net.ip.IpClient;
|
import android.net.ip.IpClient;
|
||||||
import android.net.ip.IpClient.ProvisioningConfiguration;
|
import android.net.ip.IpClient.ProvisioningConfiguration;
|
||||||
|
import android.net.util.InterfaceParams;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@@ -329,8 +330,12 @@ public class EthernetNetworkFactory extends NetworkFactory {
|
|||||||
// This cannot happen due to provisioning timeout, because our timeout is 0. It can only
|
// This cannot happen due to provisioning timeout, because our timeout is 0. It can only
|
||||||
// happen if we're provisioned and we lose provisioning.
|
// happen if we're provisioned and we lose provisioning.
|
||||||
stop();
|
stop();
|
||||||
|
// If the interface has disappeared provisioning will fail over and over again, so
|
||||||
|
// there is no point in starting again
|
||||||
|
if (null != InterfaceParams.getByName(name)) {
|
||||||
start();
|
start();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void updateLinkProperties(LinkProperties linkProperties) {
|
void updateLinkProperties(LinkProperties linkProperties) {
|
||||||
mLinkProperties = linkProperties;
|
mLinkProperties = linkProperties;
|
||||||
|
|||||||
Reference in New Issue
Block a user