summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/calllog
diff options
context:
space:
mode:
authorJay Shrauner <shrauner@google.com>2013-08-29 15:13:45 -0700
committerJay Shrauner <shrauner@google.com>2013-09-03 21:21:00 +0000
commit173ec96476278f0d6aa147d31a60aa3e419e5ca3 (patch)
tree037bce6a7c496b4fe713caf2b78dfb05938e22ac /src/com/android/dialer/calllog
parentfca0338d3d52f91c0cbcac555a8416cc75770090 (diff)
Add contacts to the cache when dialed
Add GAL or local search contacts to the cache when dialed. Bug: 10609551 Change-Id: I787e0f2e1fe458a7f5518241823493333d9ade7c
Diffstat (limited to 'src/com/android/dialer/calllog')
-rw-r--r--src/com/android/dialer/calllog/CallLogAdapter.java3
-rw-r--r--src/com/android/dialer/calllog/ContactInfo.java2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/dialer/calllog/CallLogAdapter.java b/src/com/android/dialer/calllog/CallLogAdapter.java
index da29bbd87..9ac7bea21 100644
--- a/src/com/android/dialer/calllog/CallLogAdapter.java
+++ b/src/com/android/dialer/calllog/CallLogAdapter.java
@@ -598,10 +598,9 @@ public class CallLogAdapter extends GroupingListAdapter
formattedNumber, countryIso, geocode, callTypes, date,
duration);
} else {
- // We do not pass a photo id since we do not need the high-res picture.
details = new PhoneCallDetails(number, numberPresentation,
formattedNumber, countryIso, geocode, callTypes, date,
- duration, name, ntype, label, lookupUri, null);
+ duration, name, ntype, label, lookupUri, photoUri);
}
final boolean isNew = c.getInt(CallLogQuery.IS_READ) == 0;
diff --git a/src/com/android/dialer/calllog/ContactInfo.java b/src/com/android/dialer/calllog/ContactInfo.java
index 08633f895..ac858df87 100644
--- a/src/com/android/dialer/calllog/ContactInfo.java
+++ b/src/com/android/dialer/calllog/ContactInfo.java
@@ -24,7 +24,7 @@ import com.android.contacts.common.util.UriUtils;
/**
* Information for a contact as needed by the Call Log.
*/
-public final class ContactInfo {
+public class ContactInfo {
public Uri lookupUri;
public String name;
public int type;