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

Commit 0cc69cb0 authored by Rohit Yengisetty's avatar Rohit Yengisetty
Browse files

Mark contact info obtained from a lookup provider with remote source-type

This is needed to ensure that a UI refresh request is queued up following
a successful lookup. The execution of the UI refresh request is left upto
the policy defined within ContactInfoCache

Issue-Id: OPO-711
Change-Id: Ib60895003cbb5371838dbed8c5fc9f722be758fa
(cherry picked from commit 9bee3a3a)
parent cc8fed5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -330,6 +330,7 @@ public class ContactInfoHelper {
                    final String formattedNumber = formatPhoneNumber(response.mNumber, null, countryIso);
                    // map LookupResponse to ContactInfo
                    ContactInfo contactInfo = new ContactInfo();
                    contactInfo.sourceType = 1;
                    contactInfo.lookupProviderName = response.mProviderName;
                    contactInfo.name = response.mName;
                    contactInfo.number = formatPhoneNumber(response.mNumber, null, countryIso);