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

Commit 59185d09 authored by Hai Shalom's avatar Hai Shalom Committed by android-build-merger
Browse files

Merge "Revert submission" into qt-qpr1-dev

am: 775106e4

Change-Id: I90ea8783da54caf1f3e140b7eb768129d8332f61
parents 1a67e304 775106e4
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -755,10 +755,6 @@ public class WifiDetailPreferenceController extends AbstractPreferenceController
    }

    private boolean canConnectNetwork() {
        // Do not allow a cloned network to connect when out of range
        // Otherwise it may create inconsistencies in the UI
        if (mAccessPoint.isCloned() && mIsOutOfRange)
            return false;
        // Display connect button for disconnected AP even not in the range.
        return !mAccessPoint.isActive();
    }