diff options
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/com/android/internal/telephony/PhoneBase.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/PhoneBase.java b/telephony/java/com/android/internal/telephony/PhoneBase.java index b64b45d..5887130 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); } |