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

Commit b0cda158 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by android-build-merger
Browse files

Merge "Ensure handleUpdateLinkProperties runs on the CS handler thread."

am: a8820983

Change-Id: I46e448611a23a9e75f05b0ab48d4af47175de6d4
parents baed6a5e a8820983
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -5565,6 +5565,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
    }
    }


    public void handleUpdateLinkProperties(NetworkAgentInfo nai, LinkProperties newLp) {
    public void handleUpdateLinkProperties(NetworkAgentInfo nai, LinkProperties newLp) {
        ensureRunningOnConnectivityServiceThread();

        if (getNetworkAgentInfoForNetId(nai.network.netId) != nai) {
        if (getNetworkAgentInfoForNetId(nai.network.netId) != nai) {
            // Ignore updates for disconnected networks
            // Ignore updates for disconnected networks
            return;
            return;