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

Commit 478b77d3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "IMS: Allow USSD request in airplane mode"

parents 100a848d 9e4d76bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1114,7 +1114,8 @@ public class GsmCdmaPhone extends Phone {
        // Check non-emergency voice CS call - shouldn't dial when POWER_OFF
        if (mSST != null && mSST.mSS.getState() == ServiceState.STATE_POWER_OFF /* CS POWER_OFF */
                && !VideoProfile.isVideo(dialArgs.videoState) /* voice call */
                && !isEmergency /* non-emergency call */) {
                && !isEmergency /* non-emergency call */
                && !(isUt && useImsForUt) /* not UT */) {
            throw new CallStateException(
                CallStateException.ERROR_POWER_OFF,
                "cannot dial voice call in airplane mode");