Bug 1115758 - Part 5: Add nsITelephonyService.cancelUSSD (ril). r=hsinyi

This commit is contained in:
Szu-Yu Chen [:aknow] 2015-01-07 15:28:44 +08:00
parent f9b25fc080
commit 9dddf2de9f

View File

@ -1066,6 +1066,16 @@ TelephonyService.prototype = {
});
},
cancelUSSD: function(aClientId, aCallback) {
this._sendToRilWorker(aClientId, "cancelUSSD", {}, response => {
if (!response.success) {
aCallback.notifyError(response.errorMsg);
} else {
aCallback.notifySuccess();
}
});
},
get microphoneMuted() {
return gAudioService.microphoneMuted;
},