Backed out changeset 9f377abbf13e

This commit is contained in:
Gene Lian 2013-09-09 21:22:37 +08:00
parent 415d896ad2
commit 77e05493e7
5 changed files with 1 additions and 9 deletions

View File

@ -30,7 +30,6 @@ interface nsIMobileMessageCallback : nsISupports
const unsigned short NO_SIM_CARD_ERROR = 5;
const unsigned short RADIO_DISABLED_ERROR = 6;
const unsigned short INVALID_ADDRESS_ERROR = 7;
const unsigned short FDN_CHECK_ERROR = 8;
/**
* |message| can be nsIDOMMoz{Mms,Sms}Message.

View File

@ -104,9 +104,6 @@ MobileMessageCallback::NotifyError(int32_t aError, bool aAsync)
case nsIMobileMessageCallback::INVALID_ADDRESS_ERROR:
errorStr = NS_LITERAL_STRING("InvalidAddressError");
break;
case nsIMobileMessageCallback::FDN_CHECK_ERROR:
errorStr = NS_LITERAL_STRING("FdnCheckError");
break;
default: // SUCCESS_NO_ERROR is handled above.
MOZ_CRASH("Should never get here!");
}

View File

@ -2676,9 +2676,6 @@ RadioInterface.prototype = {
case RIL.ERROR_RADIO_NOT_AVAILABLE:
error = Ci.nsIMobileMessageCallback.NO_SIGNAL_ERROR;
break;
case RIL.ERROR_FDN_CHECK_FAILURE:
error = Ci.nsIMobileMessageCallback.FDN_CHECK_ERROR;
break;
}
if (context.silent) {

View File

@ -309,7 +309,6 @@ public class GeckoSmsManager
public final static int kNoSimCardError = 5;
public final static int kRadioDisabledError = 6;
public final static int kInvalidAddressError = 7;
public final static int kFdnCheckError = 8;
private final static int kMaxMessageSize = 160;

View File

@ -303,7 +303,7 @@ public class GeckoSmsManager
public final static int kNoSimCardError = 5;
public final static int kRadioDisabledError = 6;
public final static int kInvalidAddressError = 7;
public final static int kFdnCheckError = 8;
private final static int kMaxMessageSize = 160;