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

Commit 07a76e6e authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Call pollState() in APM if RAT or radio state changes.

Earlier state was never polled in APM. With b/27486486 it was done
on network state changes since that is considered a modem trigger.
RAT and radio state changes are also modem triggers and should
trigger pollState().

Bug: 30286279
Change-Id: I6695a8db5b61170643cc4a81c7db25072804b306
parent db5b6a50
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -952,7 +952,8 @@ public class ServiceStateTracker extends Handler {
                }
                // This will do nothing in the 'radio not available' case
                setPowerStateToDesired();
                pollState();
                // These events are modem triggered, so pollState() needs to be forced
                modemTriggeredPollState();
                break;

            case EVENT_NETWORK_STATE_CHANGED: