Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 457df5ff authored by Yorke Lee's avatar Yorke Lee
Browse files

Don't save cached contact info in call log when adding call

Bug: 20520236
Change-Id: I8ca051d4b93624b51de73640544ee5c6afbc0b7a
parent 31104fbb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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.