Set Ethernet default mode as CLIENT
Bug: 130840861
Test: build, boot
atest EthernetTrackerTest
manual test (using Ethernet)
Change-Id: I935ea2e5f214aced67fb60f4aec2744077177545
This commit is contained in:
@@ -90,7 +90,7 @@ final class EthernetTracker {
|
|||||||
|
|
||||||
// Used only on the handler thread
|
// Used only on the handler thread
|
||||||
private String mDefaultInterface;
|
private String mDefaultInterface;
|
||||||
private int mDefaultInterfaceMode;
|
private int mDefaultInterfaceMode = INTERFACE_MODE_CLIENT;
|
||||||
// Tracks whether clients were notified that the tethered interface is available
|
// Tracks whether clients were notified that the tethered interface is available
|
||||||
private boolean mTetheredInterfaceWasAvailable = false;
|
private boolean mTetheredInterfaceWasAvailable = false;
|
||||||
private volatile IpConfiguration mIpConfigForDefaultInterface;
|
private volatile IpConfiguration mIpConfigForDefaultInterface;
|
||||||
|
|||||||
Reference in New Issue
Block a user