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

Commit 12ea652c authored by Flavio Lerda's avatar Flavio Lerda
Browse files

Do not look up contact for calls to voicemail.

Bug: 5469343
Change-Id: Icb972f9e4d2beb83cd81b0e70897a2cc16dab2b8
parent 20ffc86b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -564,6 +564,7 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware
            // If this is not a regular number, there is no point in looking it up in the contacts.
            ContactInfo info =
                    mPhoneNumberHelper.canPlaceCallsTo(number)
                    && !mPhoneNumberHelper.isVoicemailNumber(number)
                            ? mContactInfoHelper.lookupNumber(number, countryIso)
                            : null;
            if (info == null) {