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

Commit efed8dc9 authored by Flavio Lerda's avatar Flavio Lerda Committed by Android (Google) Code Review
Browse files

Merge "Also look up number as an "Internet call" address."

parents 0296cb0a 1d18da7d
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -67,7 +67,14 @@ public class ContactInfoHelper {
            }
            info = sipInfo;
        } else {
            info = queryContactInfoForPhoneNumber(number, countryIso);
            // Look for a contact that has the given phone number.
            ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso);

            if (phoneInfo == null || phoneInfo == ContactInfo.EMPTY) {
                // Check whether the phone number has been saved as an "Internet call" number.
                phoneInfo = queryContactInfoForSipAddress(number);
            }
            info = phoneInfo;
        }

        final ContactInfo updatedInfo;