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

Commit ec4ead24 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

Change-Id: I91d231ada98814c20f7929df461127d1fbf8017a
parents f22b9aed 59f57de1
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");
        }