diff --git a/telephony/java/com/android/internal/telephony/PhoneBase.java b/telephony/java/com/android/internal/telephony/PhoneBase.java index b64b45dbc640f..588713040c34b 100644 --- a/telephony/java/com/android/internal/telephony/PhoneBase.java +++ b/telephony/java/com/android/internal/telephony/PhoneBase.java @@ -742,6 +742,10 @@ public abstract class PhoneBase extends Handler implements Phone { } public void notifyMessageWaitingIndicator() { + // Do not notify voice mail waiting if device doesn't support voice + if (!mIsVoiceCapable) + return; + // This function is added to send the notification to DefaultPhoneNotifier. mNotifier.notifyMessageWaitingChanged(this); }