зеркало из https://github.com/mozilla/gecko-dev.git
Bug 905076 - [wasabi] Temporary CLIR not work on CDMA. r=vicamo
This commit is contained in:
Родитель
34bc1e2d7b
Коммит
d14af73c2a
|
@ -1881,13 +1881,15 @@ let RIL = {
|
|||
if (this._isEmergencyNumber(options.number)) {
|
||||
this.dialEmergencyNumber(options, onerror);
|
||||
} else {
|
||||
// TODO: Both dial() and sendMMI() functions should be unified at some
|
||||
// point in the future. In the mean time we handle temporary CLIR MMI
|
||||
// commands through the dial() function. Please see bug 889737.
|
||||
let mmi = this._parseMMI(options.number);
|
||||
if (mmi && this._isTemporaryModeCLIR(mmi)) {
|
||||
options.number = mmi.dialNumber;
|
||||
options.clirMode = this._getCLIRMode(mmi);
|
||||
if (!this._isCdma) {
|
||||
// TODO: Both dial() and sendMMI() functions should be unified at some
|
||||
// point in the future. In the mean time we handle temporary CLIR MMI
|
||||
// commands through the dial() function. Please see bug 889737.
|
||||
let mmi = this._parseMMI(options.number);
|
||||
if (mmi && this._isTemporaryModeCLIR(mmi)) {
|
||||
options.number = mmi.dialNumber;
|
||||
options.clirMode = this._getCLIRMode(mmi);
|
||||
}
|
||||
}
|
||||
this.dialNonEmergencyNumber(options, onerror);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче