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:
Milim Lee
2020-01-31 11:33:32 +09:00
parent 32327808e1
commit f85c0b301c

View File

@@ -90,7 +90,7 @@ final class EthernetTracker {
// Used only on the handler thread
private String mDefaultInterface;
private int mDefaultInterfaceMode;
private int mDefaultInterfaceMode = INTERFACE_MODE_CLIENT;
// Tracks whether clients were notified that the tethered interface is available
private boolean mTetheredInterfaceWasAvailable = false;
private volatile IpConfiguration mIpConfigForDefaultInterface;