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

Skip to content
Commit aa5e09d6 authored by Michael Gernoth's avatar Michael Gernoth
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.

Change-Id: I1e58be9d8a8bfe67df4c266e5670a47acedf6f03
parent 536cddc7
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