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

Commit c62df086 authored by Ajay Nambi's avatar Ajay Nambi
Browse files

Telephony: Send disconnect when disposing DCTs

Send disconnect when disposing DCTs. This is invoked multiple times
during Inter-RAT (IRAT) handovers and sending disconnect to lower layers
keeps things in-sync and avoid race conditions as seen in field tests.

Change-Id: I7c0c32a0448934981f0ebbeb9ee2702b87f9b5d9
parent ec1ecc09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker {

    @Override
    public void dispose() {
        cleanUpConnection(false, null, false);
        cleanUpConnection(true, null, false);

        super.dispose();

+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
    @Override
    public void dispose() {
        if (DBG) log("GsmDCT.dispose");
        cleanUpAllConnections(false, null);
        cleanUpAllConnections(true, null);

        super.dispose();