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

Commit 40e7c05e authored by Hai Shalom's avatar Hai Shalom
Browse files

Revert submission

Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier.

Change-Id: I65868205cc8241f8179006256e6e13698ad79d64
Merged-In: I5f3a6e31dc96fbc016e6ab5f56c3c68eb9e7723f
parent 36b3d9b8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -741,10 +741,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();
    }