Bug 1223662 - Part 1: Check mmiServiceCode with correct constant. r=echen

This commit is contained in:
Bevis Tseng 2015-11-11 13:10:51 +08:00
parent 8e0d0e2cef
commit ca6d33a9e1

View File

@ -1015,7 +1015,7 @@ TelephonyService.prototype = {
aCallback.notifyDialMMI(mmiServiceCode);
if (mmiServiceCode !== RIL.MMI_KS_SC_IMEI && !this._isRadioOn(aClientId)) {
if (mmiServiceCode !== MMI_KS_SC_IMEI && !this._isRadioOn(aClientId)) {
aCallback.notifyDialMMIError(DIAL_ERROR_RADIO_NOT_AVAILABLE);
return;
}