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

Commit d4e92636 authored by Casper Bonde's avatar Casper Bonde Committed by Andre Eisenbach
Browse files

SAP: Correct ResultCode for setTransportProtocolResp



Changed to respond with "Error, not supported" according to
the SAP specification, to pass PTS tests.

Change-Id: If4f3ddf27468d13f1162c19ab6c0a712fc81fd92
Signed-off-by: default avatarCasper Bonde <c.bonde@samsung.com>
parent 3a2d8066
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1024,7 +1024,7 @@ public class SapMessage {
                mResultCode = RESULT_OK;
                break;
            case RIL_SIM_SAP_SET_TRANSFER_PROTOCOL_RSP.RIL_E_GENERIC_FAILURE:
                mResultCode = RESULT_ERROR_NO_REASON;
                mResultCode = RESULT_ERROR_NOT_SUPPORTED;
                break;
            case RIL_SIM_SAP_SET_TRANSFER_PROTOCOL_RSP.RIL_E_SIM_ABSENT:
                mResultCode = RESULT_ERROR_CARD_NOT_ACCESSIBLE;
@@ -1036,7 +1036,7 @@ public class SapMessage {
                mResultCode = RESULT_ERROR_CARD_REMOVED;
                break;
            default:
                mResultCode = RESULT_ERROR_NO_REASON;
                mResultCode = RESULT_ERROR_NOT_SUPPORTED;
                break;
            }
            break;