From f85c0b301c8466b2d6f92d04029a1da5d118fb04 Mon Sep 17 00:00:00 2001 From: Milim Lee Date: Fri, 31 Jan 2020 11:33:32 +0900 Subject: [PATCH] Set Ethernet default mode as CLIENT Bug: 130840861 Test: build, boot atest EthernetTrackerTest manual test (using Ethernet) Change-Id: I935ea2e5f214aced67fb60f4aec2744077177545 --- service-t/src/com/android/server/ethernet/EthernetTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service-t/src/com/android/server/ethernet/EthernetTracker.java b/service-t/src/com/android/server/ethernet/EthernetTracker.java index 24616b78dc..58803d14fe 100644 --- a/service-t/src/com/android/server/ethernet/EthernetTracker.java +++ b/service-t/src/com/android/server/ethernet/EthernetTracker.java @@ -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;