From 457df5ff7e5d562b944b9f7544a02c956780f81a Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Fri, 19 Jun 2015 12:01:05 -0700 Subject: [PATCH] Don't save cached contact info in call log when adding call Bug: 20520236 Change-Id: I8ca051d4b93624b51de73640544ee5c6afbc0b7a --- core/java/android/provider/CallLog.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 7d57233b31495..23555d6d998d2 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -518,11 +518,6 @@ public class CallLog { if (callType == MISSED_TYPE) { values.put(IS_READ, Integer.valueOf(0)); } - if (ci != null) { - values.put(CACHED_NAME, ci.name); - values.put(CACHED_NUMBER_TYPE, ci.numberType); - values.put(CACHED_NUMBER_LABEL, ci.numberLabel); - } if ((ci != null) && (ci.contactIdOrZero > 0)) { // Update usage information for the number associated with the contact ID.