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

Commit 2a91a305 authored by gsarrica's avatar gsarrica
Browse files

Fix for Droid1 data loss after phone call.

The Droid1 loses data after ending a phone call. The only way I am able to get
the data network back up is to run the cleanupConnection method after the call ends.
I would also say this does not work 100% of the time but 9 out of 10.

Change-Id: Ib9a678516c0c9128085fc08e992c4beb262140ac
parent d9ab5a58
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -800,6 +800,9 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker {
        if (state == State.CONNECTED) {
            if (!mCdmaPhone.mSST.isConcurrentVoiceAndData()) {
                startNetStatPoll();
                if("sholes".equalsIgnoreCase(android.os.Build.DEVICE)) {
                    cleanUpConnection(true, Phone.REASON_VOICE_CALL_ENDED);
                }
                phone.notifyDataConnection(Phone.REASON_VOICE_CALL_ENDED);
            } else {
                // clean slate after call end.