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

Commit 4adaff35 authored by Junichi Monma's avatar Junichi Monma Committed by Android Git Automerger
Browse files

am 3eb13f88: am 708cb897: Allowing to change the poll state even if only PS is...

am 3eb13f88: am 708cb897: Allowing to change the poll state even if only PS is avairable on the network.

* commit '3eb13f88':
  Allowing to change the poll state even if only PS is avairable on the network.
parents a19f2492 3eb13f88
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -696,6 +696,13 @@ final class GsmServiceStateTracker extends ServiceStateTracker {
            loge("Exception while polling service state. Probably malformed RIL response." + ex);
        }

        final boolean voice_capable = phone.getContext().getResources().getBoolean(
                com.android.internal.R.bool.config_voice_capable);

        if (!voice_capable && newGPRSState == ServiceState.STATE_IN_SERVICE) {
            newSS.setState (newGPRSState);
        }

        pollingContext[0]--;

        if (pollingContext[0] == 0) {