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

Commit b657863b authored by Youming Ye's avatar Youming Ye Committed by Gerrit Code Review
Browse files

Merge "Fix emergency call fails in APM ON"

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

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