Revert submission
Reason for revert: Incomplete fix that causes additional issues which were not anticipated earlier. Change-Id: I5f3a6e31dc96fbc016e6ab5f56c3c68eb9e7723f
This commit is contained in:
@@ -781,11 +781,6 @@ public class WifiDetailPreferenceController extends AbstractPreferenceController
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean canConnectNetwork() {
|
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.
|
// Display connect button for disconnected AP even not in the range.
|
||||||
return !mAccessPoint.isActive();
|
return !mAccessPoint.isActive();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user