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

Skip to content
Commit 8e38e4c5 authored by Michael Gernoth's avatar Michael Gernoth Committed by Adnan Begovic
Browse files

DcSwitchStateMachine: support RILs not implementing REQUEST_ALLOW_DATA

When a RIL returns REQUEST_NOT_SUPPORTED in response to
RIL_REQUEST_ALLOW_DATA this is seen as an error and no state
transition to attached is carried out when the modem is already
attached. Fix this by handling REQUEST_NOT_SUPPORTED as success.

This fixes devices randomly not attaching data after reboot if
the modem returns attached in DATA_REGISTRATION_STATE before
setDataAllowed is called.

TICKET: RM-208

Change-Id: I1e58be9d8a8bfe67df4c266e5670a47acedf6f03
(cherry picked from commit aa5e09d6)
parent 50407ae5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment