Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 005cf1b1 authored by Mark Chien's avatar Mark Chien Committed by Automerger Merge Worker
Browse files

Merge "Let only Ethernet manage ethernet interface up and down" am: ef511f8b...

Merge "Let only Ethernet manage ethernet interface up and down" am: ef511f8b am: eb4a0728 am: ea1eabac

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1317394

Change-Id: I12956a86fbba41b43d1fca1f15276e2a07ef3612
parents 5873c2eb ea1eabac
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -616,8 +616,9 @@ public class IpServer extends StateMachine {

        final Boolean setIfaceUp;
        if (mInterfaceType == TetheringManager.TETHERING_WIFI
                || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P) {
            // The WiFi stack has ownership of the interface up/down state.
                || mInterfaceType == TetheringManager.TETHERING_WIFI_P2P
                || mInterfaceType == TetheringManager.TETHERING_ETHERNET) {
            // The WiFi and Ethernet stack has ownership of the interface up/down state.
            // It is unclear whether the Bluetooth or USB stacks will manage their own
            // state.
            setIfaceUp = null;