Bug 1007538 - [B2G][RIL] fix error handling of REQUEST_QUERY_FACILITY_LOCK. r=edgar

This commit is contained in:
Hsin-Yi Tsai 2014-05-08 18:13:44 +08:00
parent 1c3f8ed1ab
commit 2bf218cddf

View File

@ -5886,6 +5886,8 @@ RilObject.prototype[REQUEST_QUERY_FACILITY_LOCK] = function REQUEST_QUERY_FACILI
options.success = (options.rilRequestError === 0);
if (!options.success) {
options.errorMsg = RIL_ERROR_TO_GECKO_ERROR[options.rilRequestError];
this.sendChromeMessage(options);
return;
}
let services;