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

Commit f8595cb0 authored by kaiyiz's avatar kaiyiz Committed by Matt Garnes
Browse files

Dialer: Dial out when long press "1" after add voice mail number

The value of method hasVMNumber() has no effect to the returned value.

Return the value of hasVMNumber() to make sure the value of
isVoicemailAvailable() is true.

CRs-Fixed: 744800

Change-Id: I838c3fb3c3110d2e07fe34d5f4b9bdc201f0b736
parent 15131692
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1751,7 +1751,7 @@ public class DialpadFragment extends AnalyticsFragment
    private boolean isVoicemailAvailable() {
        boolean promptEnabled = SubscriptionManager.isVoicePromptEnabled();
        if (promptEnabled) {
            hasVMNumber();
            return hasVMNumber();
        } else {
            long subId = SubscriptionManager.getDefaultVoiceSubId();
            try {