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

Commit 30012f34 authored by Allen Su's avatar Allen Su Committed by Gerrit Code Review
Browse files

Merge "Convert RIL's SMS error code to SmsManager's"

parents 82abc35e c3d638ad
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -865,6 +865,12 @@ public abstract class SMSDispatcher extends Handler {
                return SmsManager.RESULT_RIL_SIM_ABSENT;
                return SmsManager.RESULT_RIL_SIM_ABSENT;
            case FDN_CHECK_FAILURE:
            case FDN_CHECK_FAILURE:
                return SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE;
                return SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE;
            case SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWED:
                return SmsManager.RESULT_RIL_SIMULTANEOUS_SMS_AND_CALL_NOT_ALLOWED;
            case ACCESS_BARRED:
                return SmsManager.RESULT_RIL_ACCESS_BARRED;
            case BLOCKED_DUE_TO_CALL:
                return SmsManager.RESULT_RIL_BLOCKED_DUE_TO_CALL;
            default:
            default:
                return RESULT_ERROR_GENERIC_FAILURE;
                return RESULT_ERROR_GENERIC_FAILURE;
        }
        }