Bug 905076 - [wasabi] Temporary CLIR not work on CDMA. r=vicamo

This commit is contained in:
Hsin-Yi Tsai 2013-08-16 16:18:31 +08:00
Родитель 34bc1e2d7b
Коммит d14af73c2a
1 изменённых файлов: 9 добавлений и 7 удалений

Просмотреть файл

@ -1881,6 +1881,7 @@ let RIL = {
if (this._isEmergencyNumber(options.number)) { if (this._isEmergencyNumber(options.number)) {
this.dialEmergencyNumber(options, onerror); this.dialEmergencyNumber(options, onerror);
} else { } else {
if (!this._isCdma) {
// TODO: Both dial() and sendMMI() functions should be unified at some // TODO: Both dial() and sendMMI() functions should be unified at some
// point in the future. In the mean time we handle temporary CLIR MMI // point in the future. In the mean time we handle temporary CLIR MMI
// commands through the dial() function. Please see bug 889737. // commands through the dial() function. Please see bug 889737.
@ -1889,6 +1890,7 @@ let RIL = {
options.number = mmi.dialNumber; options.number = mmi.dialNumber;
options.clirMode = this._getCLIRMode(mmi); options.clirMode = this._getCLIRMode(mmi);
} }
}
this.dialNonEmergencyNumber(options, onerror); this.dialNonEmergencyNumber(options, onerror);
} }
}, },