Bug 836731 : Fix processICCIOError. r=vicamo

This commit is contained in:
Yoshi Huang 2013-01-31 23:10:34 +08:00
parent edeba3d62e
commit 6bd26e7455

View File

@ -8742,10 +8742,12 @@ let ICCIOHelper = {
// description.
let errorMsg = "ICC I/O Error code " +
RIL_ERROR_TO_GECKO_ERROR[options.rilRequestError] +
"EF id = " + options.fileId.toString(16) +
" command = " + options.command.toString(16) +
"(" + options.sw1.toString(16) +
"/" + options.sw2.toString(16) + ")";
" EF id = " + options.fileId.toString(16) +
" command = " + options.command.toString(16);
if (options.sw1 && options.sw2) {
errorMsg += "(" + options.sw1.toString(16) +
"/" + options.sw2.toString(16) + ")";
}
error(errorMsg);
},
};