Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a347afb9 authored by John Wang's avatar John Wang Committed by Android (Google) Code Review
Browse files

Merge "Notify voicemail only for voice-capable device."

parents 05decf6d e98ca4a8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);
    }