[NS A39] Simplification
If newNetwork is satisfying this request, it means it is the old satisfier. Plain and simple. Test: ConnectivityServiceTest Change-Id: Ic1a5d032801bac476b1c1f53da6f1c4c6056bff0
This commit is contained in:
@@ -6538,7 +6538,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
||||
if (currentNetwork == null || currentNetwork.getCurrentScore() < score) {
|
||||
reassignedRequests.put(nri, newNetwork);
|
||||
}
|
||||
} else if (newNetwork.isSatisfyingRequest(nri.request.requestId)) {
|
||||
} else if (newNetwork == currentNetwork) {
|
||||
reassignedRequests.put(nri, null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user