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

Commit 32eda207 authored by yoonsung.nam's avatar yoonsung.nam Committed by John Wang
Browse files

Restore ready apns once voice call ended



Currently GsmDCT does not setup default data if secondary APNs are
connected but default is disconnected. Sometimes retry alarm of default
expries during voice call but it's rejected due to voice calling and
eHRPD attached status.

Fix onVocieCallEnded() to restore all ready apns inclduing defautl
regardless of isConnected().

bug:6502005

Change-Id: I25db9be010cb588dfee51bdaf435f24055ecb431
Signed-off-by: default avataryoonsung.nam <yoonsung.nam@samsung.com>
parent 108feca9
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -2141,11 +2141,10 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
                // clean slate after call end.
                // clean slate after call end.
                resetPollStats();
                resetPollStats();
            }
            }
        } else {
        }
        // reset reconnect timer
        // reset reconnect timer
        setupDataOnReadyApns(Phone.REASON_VOICE_CALL_ENDED);
        setupDataOnReadyApns(Phone.REASON_VOICE_CALL_ENDED);
    }
    }
    }


    @Override
    @Override
    protected void onCleanUpConnection(boolean tearDown, int apnId, String reason) {
    protected void onCleanUpConnection(boolean tearDown, int apnId, String reason) {