diff options
Diffstat (limited to 'java/com/android/dialer/calllog/datasources/phonelookup')
-rw-r--r-- | java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java b/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java index 56e909e84..214862793 100644 --- a/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java +++ b/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java @@ -268,6 +268,7 @@ public final class PhoneLookupDataSource implements CallLogDataSource { .useMostRecentString(AnnotatedCallLog.PHOTO_URI) .useMostRecentLong(AnnotatedCallLog.PHOTO_ID) .useMostRecentString(AnnotatedCallLog.LOOKUP_URI) + .useMostRecentInt(AnnotatedCallLog.CAN_REPORT_AS_INVALID_NUMBER) .combine(); } @@ -564,6 +565,9 @@ public final class PhoneLookupDataSource implements CallLogDataSource { AnnotatedCallLog.LOOKUP_URI, PhoneLookupSelector.selectLookupUri(phoneLookupInfo)); contentValues.put( AnnotatedCallLog.NUMBER_TYPE_LABEL, PhoneLookupSelector.selectNumberLabel(phoneLookupInfo)); + contentValues.put( + AnnotatedCallLog.CAN_REPORT_AS_INVALID_NUMBER, + PhoneLookupSelector.canReportAsInvalidNumber(phoneLookupInfo)); } private static Uri numberUri(String number) { |