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

Commit 775106e4 authored by Hai Shalom's avatar Hai Shalom Committed by Android (Google) Code Review
Browse files

Merge "Revert submission" into qt-qpr1-dev

parents a3e26f10 40e7c05e
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();
    }