diff options
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/CallLog.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index bc72c4e38411..c0fa1de6feeb 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -684,6 +684,9 @@ public class CallLog { values.put(PHONE_ACCOUNT_ID, accountId); values.put(PHONE_ACCOUNT_ADDRESS, accountAddress); values.put(NEW, Integer.valueOf(1)); + if ((ci != null) && (ci.name != null)) { + values.put(CACHED_NAME, ci.name); + } values.put(ADD_FOR_ALL_USERS, addForAllUsers ? 1 : 0); if (callType == MISSED_TYPE) { |
