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

Commit 8f5e83f3 authored by Jack Yu's avatar Jack Yu Committed by Automerger Merge Worker
Browse files

Merge "IWLAN handover fix" into rvc-dev am: 5e14ee30 am: 6f0392ae

Change-Id: Ibb7c46614fea9889a121e2012388dc6e47fbcf4c
parents f4bcaa5c 6f0392ae
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -406,8 +406,12 @@ public class TelephonyNetworkFactory extends NetworkFactory {
                    // If handover fails, we need to tear down the existing connection, so the
                    // new data connection can be re-established on the new transport. If we leave
                    // the existing data connection in current transport, then DCT and qualified
                    // network service will be out of sync.
                    : DcTracker.RELEASE_TYPE_NORMAL;
                    // network service will be out of sync. Specifying release type to detach
                    // the transport is moved to the other transport, but network request is still
                    // there, connectivity service will not call unwanted to tear down the network.
                    // We need explicitly tear down the data connection here so the new data
                    // connection can be re-established on the other transport.
                    : DcTracker.RELEASE_TYPE_DETACH;
            releaseNetworkInternal(networkRequest, releaseType, originTransport);
            mNetworkRequests.put(networkRequest, targetTransport);
        }