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

Commit f237d243 authored by Youming Ye's avatar Youming Ye Committed by android-build-merger
Browse files

Merge "Fix emergency call fails in APM ON" am: b657863b am: 59f57de1

am: ec4ead24

Change-Id: I725d48f653bc28955c5ff84cf9c4daaa04e6de3a
parents efd145f0 ec4ead24
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -617,11 +617,10 @@ public class GsmCdmaCallTracker extends CallTracker {
     * @throws CallStateException
     * @throws CallStateException
     */
     */
    public void checkForDialIssues() throws CallStateException {
    public void checkForDialIssues() throws CallStateException {
        int serviceState = mPhone.getServiceState().getState();
        String disableCall = SystemProperties.get(
        String disableCall = SystemProperties.get(
                TelephonyProperties.PROPERTY_DISABLE_CALL, "false");
                TelephonyProperties.PROPERTY_DISABLE_CALL, "false");


        if (serviceState == ServiceState.STATE_POWER_OFF) {
        if (!mCi.getRadioState().isOn()) {
            throw new CallStateException(CallStateException.ERROR_POWER_OFF,
            throw new CallStateException(CallStateException.ERROR_POWER_OFF,
                    "Modem not powered");
                    "Modem not powered");
        }
        }