Bug 1124550 - Part 02: ril_worker: expose API cdmaFlash. r=hsinyi

This commit is contained in:
Szu-Yu Chen [:aknow] 2015-02-03 12:18:19 +08:00
parent 8e3482a776
commit 9ba8867e89

View File

@ -1692,12 +1692,17 @@ RilObject.prototype = {
});
},
/**
* CDMA flash.
*
* @param featureStr (optional)
* Dialing number when the command is used for three-way-calling
*/
cdmaFlash: function(options) {
let Buf = this.context.Buf;
options.isCdma = true;
options.request = REQUEST_CDMA_FLASH;
Buf.newParcel(options.request, options);
Buf.writeString(options.featureStr);
Buf.writeString(options.featureStr || "");
Buf.sendParcel();
},