Do not duplicate call history data in call details screen

If we store the merged values we get the duplication. Instead, we send the merged values to the adapter but store only the call info in the Activity.

Bug: 65207281
Test: manual
PiperOrigin-RevId: 167050403
Change-Id: I30262cfeb4946163d8297e3b702906d676d4a05b
diff --git a/java/com/android/dialer/calldetails/CallDetailsActivity.java b/java/com/android/dialer/calldetails/CallDetailsActivity.java
index 385b4d1..569aaa5 100644
--- a/java/com/android/dialer/calldetails/CallDetailsActivity.java
+++ b/java/com/android/dialer/calldetails/CallDetailsActivity.java
@@ -182,11 +182,10 @@
     Map<CallDetailsEntry, List<HistoryResult>> mappedResults =
         getAllHistoricalData(contact.getNumber(), entries);
 
-    entries =
+    adapter.updateCallDetailsEntries(
         generateAndMapNewCallDetailsEntriesHistoryResults(
-            contact.getNumber(), entries, mappedResults);
-
-    adapter.updateCallDetailsEntries(entries.getEntriesList());
+                contact.getNumber(), entries, mappedResults)
+            .getEntriesList());
   }
 
   @NonNull