Home | History | Annotate | Download | only in calllog

Lines Matching refs:updatedInfo

104         final ContactInfo updatedInfo;
107 updatedInfo = null;
112 updatedInfo = new ContactInfo();
113 updatedInfo.number = number;
114 updatedInfo.formattedNumber = formatPhoneNumber(number, null, countryIso);
115 updatedInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(
117 updatedInfo.lookupUri = createTemporaryContactUri(updatedInfo.formattedNumber);
119 updatedInfo = info;
122 return updatedInfo;
296 * @param updatedInfo The updated contact info.
299 public void updateCallLogContactInfo(String number, String countryIso, ContactInfo updatedInfo,
309 if (!TextUtils.equals(updatedInfo.name, callLogInfo.name)) {
310 values.put(Calls.CACHED_NAME, updatedInfo.name);
314 if (updatedInfo.type != callLogInfo.type) {
315 values.put(Calls.CACHED_NUMBER_TYPE, updatedInfo.type);
319 if (!TextUtils.equals(updatedInfo.label, callLogInfo.label)) {
320 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label);
324 if (!UriUtils.areEqual(updatedInfo.lookupUri, callLogInfo.lookupUri)) {
325 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri));
330 if (!TextUtils.isEmpty(updatedInfo.normalizedNumber) &&
331 !TextUtils.equals(updatedInfo.normalizedNumber, callLogInfo.normalizedNumber)) {
332 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber);
336 if (!TextUtils.equals(updatedInfo.number, callLogInfo.number)) {
337 values.put(Calls.CACHED_MATCHED_NUMBER, updatedInfo.number);
341 if (updatedInfo.photoId != callLogInfo.photoId) {
342 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId);
347 UriUtils.nullForNonContactsUri(updatedInfo.photoUri);
354 if (!TextUtils.equals(updatedInfo.formattedNumber, callLogInfo.formattedNumber)) {
355 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber);
360 values.put(Calls.CACHED_NAME, updatedInfo.name);
361 values.put(Calls.CACHED_NUMBER_TYPE, updatedInfo.type);
362 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label);
363 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri));
364 values.put(Calls.CACHED_MATCHED_NUMBER, updatedInfo.number);
365 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber);
366 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId);
368 UriUtils.nullForNonContactsUri(updatedInfo.photoUri)));
369 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber);