mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 962447 - [fugu][b2g] should getFailCauseCode() even the connection hasn't been established. r=vicamo
This commit is contained in:
parent
460d662111
commit
bf8637fd08
@ -3657,8 +3657,8 @@ let RIL = {
|
||||
|
||||
_sendCallError: function(callIndex, errorMsg) {
|
||||
this.sendChromeMessage({rilMessageType: "callError",
|
||||
callIndex: callIndex,
|
||||
errorMsg: errorMsg});
|
||||
callIndex: callIndex,
|
||||
errorMsg: errorMsg});
|
||||
},
|
||||
|
||||
_sendDataCallError: function(message, errorCode) {
|
||||
@ -5095,8 +5095,7 @@ RIL[REQUEST_DIAL] = function REQUEST_DIAL(length, options) {
|
||||
if (options.rilRequestError) {
|
||||
// The connection is not established yet.
|
||||
options.callIndex = -1;
|
||||
this._sendCallError(options.callIndex,
|
||||
RIL_ERROR_TO_GECKO_ERROR[options.rilRequestError]);
|
||||
this.getFailCauseCode(options);
|
||||
}
|
||||
};
|
||||
RIL[REQUEST_GET_IMSI] = function REQUEST_GET_IMSI(length, options) {
|
||||
|
Loading…
Reference in New Issue
Block a user