Use geocoded description in the call log.
If a number is not associated with a contact, try to get the location
for that phone number and show that instead.
This is shown below the phone number, since the phone number is still
the most useful information for the user.
Bug: 4968253
Change-Id: If9c29c2e20f96f10e24fcf97ccac85eada237b71
diff --git a/src/com/android/contacts/CallDetailActivity.java b/src/com/android/contacts/CallDetailActivity.java
index 9fd1b03..d2c193e 100644
--- a/src/com/android/contacts/CallDetailActivity.java
+++ b/src/com/android/contacts/CallDetailActivity.java
@@ -419,7 +419,9 @@
numberText = candidateNumberText;
}
}
- return new PhoneCallDetails(number, numberText, new int[]{ callType }, date, duration,
+ return new PhoneCallDetails(number, numberText,
+ mPhoneNumberHelper.parsePhoneNumber(number, countryIso),
+ new int[]{ callType }, date, duration,
nameText, numberType, numberLabel, personId, photoUri);
} finally {
if (callCursor != null) {