Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3287b71 authored by Chalard Jean's avatar Chalard Jean
Browse files

[NS A39] Simplification

If newNetwork is satisfying this request, it means it is the old
satisfier. Plain and simple.

Test: ConnectivityServiceTest
Change-Id: Ic1a5d032801bac476b1c1f53da6f1c4c6056bff0
parent 6fbc9c45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
            }
        }