Merge "Revert submission" into qt-qpr1-dev

am: 775106e40d

Change-Id: I90ea8783da54caf1f3e140b7eb768129d8332f61
This commit is contained in:
Hai Shalom
2019-11-21 19:57:51 -08:00
committed by android-build-merger

View File

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