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

Commit 5e14ee30 authored by Jack Yu's avatar Jack Yu Committed by Android (Google) Code Review
Browse files

Merge "IWLAN handover fix" into rvc-dev

parents a53c2a00 5a293d43
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);
        }