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
Loading
Please register or sign in to comment