diff options
Diffstat (limited to 'java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java')
-rw-r--r-- | java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java b/java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java index db7421515..ad824274e 100644 --- a/java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java +++ b/java/com/android/dialer/calllog/datasources/contacts/ContactsDataSource.java @@ -51,7 +51,7 @@ public final class ContactsDataSource implements CallLogDataSource { Assert.isWorkerThread(); // TODO(zachh): Implementation. for (ContentValues contentValues : mutations.getInserts().values()) { - contentValues.put(AnnotatedCallLog.CONTACT_NAME, "Placeholder name"); + contentValues.put(AnnotatedCallLog.PRIMARY_TEXT, "Placeholder name"); } } @@ -64,7 +64,7 @@ public final class ContactsDataSource implements CallLogDataSource { public ContentValues coalesce(List<ContentValues> individualRowsSortedByTimestampDesc) { // TODO(zachh): Implementation. return new RowCombiner(individualRowsSortedByTimestampDesc) - .useSingleValueString(AnnotatedCallLog.CONTACT_NAME) + .useSingleValueString(AnnotatedCallLog.PRIMARY_TEXT) .combine(); } |