diff options
Diffstat (limited to 'java/com/android/dialer/calllog/datasources/phonelookup')
-rw-r--r-- | java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java b/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java index 1d4a35a6c..a0874f0cd 100644 --- a/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java +++ b/java/com/android/dialer/calllog/datasources/phonelookup/PhoneLookupDataSource.java @@ -280,7 +280,10 @@ public final class PhoneLookupDataSource PhoneLookupHistory.contentUriForNumber(normalizedNumber)) .build()); } - appContext.getContentResolver().applyBatch(PhoneLookupHistoryContract.AUTHORITY, operations); + Assert.isNotNull( + appContext + .getContentResolver() + .applyBatch(PhoneLookupHistoryContract.AUTHORITY, operations)); return null; } |