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

Commit 3eb13f88 authored by Junichi Monma's avatar Junichi Monma Committed by Android Git Automerger
Browse files

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

* commit '708cb897':
  Allowing to change the poll state even if only PS is avairable on the network.
parents 628da84b 708cb897
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) {