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

Commit 905d584b authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

Merge "settings: allow enabling ethernet tethering independent of link state"

parents 5bb798f5 6f906229
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ public final class EthernetTetherPreferenceController extends TetherBasePreferen
    @OnLifecycleEvent(Lifecycle.Event.ON_START)
    public void onStart() {
        mEthernetListener = (iface, state, role, configuration) -> {
            if (state == EthernetManager.STATE_LINK_UP) {
            if (state != EthernetManager.STATE_ABSENT) {
                mAvailableInterfaces.add(iface);
            } else {
                mAvailableInterfaces.remove(iface);