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

Skip to content
Commit db5ceb5c authored by Sandeep Kunta's avatar Sandeep Kunta Committed by Steve Kondik
Browse files

DSDA: Update service state to POWER_OFF in airplane mode

When emergency call attempted, in telephony service it is
service state is checked, if it is POWER_OFF, then modem is brought
from LPM to online mode and call is attempted. However if service
state is not POWER_OFF, dial request is attempted.

In current implementation, due to IWLAN feature enablement, polling
is also done in airplane mode, which is leading to setting of service state
"out of service" instead of POWER_OFF. As service state is not POWER_OFF,
when ecall is attempted, telephony service doesn't bring modem out of LPM and
directly places dial request which fails expectedly. And hence error dialog shown
to user instead of succesfully placing the ecall.

Current change takes care that, in airplane mode, if polling happens,
set service stateto POWER_OFF regardless of response received for
ril request VOICE_REGISTRATION_STATE.

Change-Id: I000c1dda446a684c61d2b806caa345f2771d7a08
CRs-Fixed: 722203
parent 8e6ce50f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment