Merge "Revert submission"
This commit is contained in:
committed by
Android (Google) Code Review
commit
d7ba70ee54
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user