Bug 1139835 - Parse response parcel of OPEN_CHANNEL as int list. r=hsinyi

This commit is contained in:
Edgar Chen 2015-03-12 14:11:18 +08:00
parent cd2cc8f8d1
commit 8c6926f0ef

View File

@ -6414,10 +6414,9 @@ RilObject.prototype[REQUEST_SIM_OPEN_CHANNEL] = function REQUEST_SIM_OPEN_CHANNE
return;
}
options.channel = this.context.Buf.readInt32();
if (DEBUG) {
this.context.debug("Setting channel number in options: " + options.channel);
}
options.channel = this.context.Buf.readInt32List()[0];
// onwards may optionally contain the select response for the open channel
// command with one byte per integer.
this.sendChromeMessage(options);
};
RilObject.prototype[REQUEST_SIM_CLOSE_CHANNEL] = function REQUEST_SIM_CLOSE_CHANNEL(length, options) {