mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1139835 - Parse response parcel of OPEN_CHANNEL as int list. r=hsinyi
This commit is contained in:
parent
cd2cc8f8d1
commit
8c6926f0ef
@ -6414,10 +6414,9 @@ RilObject.prototype[REQUEST_SIM_OPEN_CHANNEL] = function REQUEST_SIM_OPEN_CHANNE
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
options.channel = this.context.Buf.readInt32();
|
options.channel = this.context.Buf.readInt32List()[0];
|
||||||
if (DEBUG) {
|
// onwards may optionally contain the select response for the open channel
|
||||||
this.context.debug("Setting channel number in options: " + options.channel);
|
// command with one byte per integer.
|
||||||
}
|
|
||||||
this.sendChromeMessage(options);
|
this.sendChromeMessage(options);
|
||||||
};
|
};
|
||||||
RilObject.prototype[REQUEST_SIM_CLOSE_CHANNEL] = function REQUEST_SIM_CLOSE_CHANNEL(length, options) {
|
RilObject.prototype[REQUEST_SIM_CLOSE_CHANNEL] = function REQUEST_SIM_CLOSE_CHANNEL(length, options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user