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

Commit f5e008f0 authored by Wink Saville's avatar Wink Saville Committed by Android Git Automerger
Browse files

am e6a9bcb7: A hack that when restartRadio is called the...

am e6a9bcb7: A hack that when restartRadio is called the CdmaDataConnectionTracker to retry a connection and possibly reconnect after a temporary data loss.

Merge commit 'e6a9bcb7'

* commit 'e6a9bcb7':
  A hack that when restartRadio is called the CdmaDataConnectionTracker
parents e2494119 e6a9bcb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -498,7 +498,7 @@ public final class CdmaDataConnectionTracker extends DataConnectionTracker {

    protected void restartRadio() {
        Log.d(LOG_TAG, "************TURN OFF RADIO**************");
        cleanUpConnection(true, Phone.REASON_RADIO_TURNED_OFF);
        cleanUpConnection(true, Phone.REASON_CDMA_DATA_DETACHED);
        phone.mCM.setRadioPower(false, null);
        /* Note: no need to call setRadioPower(true).  Assuming the desired
         * radio power state is still ON (as tracked by ServiceStateTracker),