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

Commit d7ba70ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert submission"

parents 632958cf 979b9577
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -781,11 +781,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();
    }