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

Skip to content
Commit 7d80faae authored by Jaesik Kong's avatar Jaesik Kong
Browse files

Set forEmergencyCall of setRadioPower to false for normal routing ECC

AP-DS turns radio power on with isForEcc=true when ECC is dialed in AP mode, and modem exit emergency mode when hanging up the call or emergency call timer expiry which starts at entering emergency mode. However, in the case of normal routing ECC, AP-DS won't call setEmergencyMode, so if the ECC is ended before connected, modem can't know the call is disconnected. AP-DS set isForEcc=false when turns radio power on when triggering normal routing ECC in AP mode to prevent this exception case.

Change-Id: Ib07be2e04a9d736e66fb39cbadd699b1a0c2d0f2
Flag: EXEMPT bugfix
Bug: 354111304
Test: atest TelephonyStateTrackerTest
Test: manual test for 995 and 999
Step 1. Power up the device with Starhub SIM in 5G location
Step 2. Change preferred network type to 3G
Step 3. APM on, make APM normal routing emc
 - Normal routing ECC number 995 in singapore
 - Emergency routing ECC number 999 in singapore
Step 4. immediately hangup the emc call before call connect
Step 5. Now change preferred network type to 5G
Step 6. Once device register to 5G change network type to 3G
parent 16a76e11
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