Stop showing "Call not sent" for MMI calls.
Bug: 15603571
Change-Id: I50abc4a847f54db74c9c065dcd8d4a302585f659
diff --git a/src/com/android/phone/PhoneUtils.java b/src/com/android/phone/PhoneUtils.java
index 60950a5..19361ba 100644
--- a/src/com/android/phone/PhoneUtils.java
+++ b/src/com/android/phone/PhoneUtils.java
@@ -731,12 +731,7 @@
// On GSM phones, null is returned for MMI codes
if (null == connection) {
- if (phoneType == PhoneConstants.PHONE_TYPE_GSM && gatewayUri == null) {
- if (DBG) log("dialed MMI code: " + number);
- status = CALL_STATUS_DIALED_MMI;
- } else {
- status = CALL_STATUS_FAILED;
- }
+ status = CALL_STATUS_FAILED;
} else {
// Now that the call is successful, we can save the gateway info for the call
if (callGateway != null) {