Merge "Revert submission" into qt-qpr1-dev

This commit is contained in:
Hai Shalom
2019-11-22 03:46:02 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}