Add CACHED_NAME into call history database when the add call.
* For some carkit will get the call history name to show its screen, But the caller name is not into call history database. * Add caller name into call history database for the carkit get correct caller name. Bug: 111968310 Bug: 117627934 Test: build pass, verify pass, Check call history after received different type call (save number, not save number, private number) Change-Id: Ic28320c0184e33aa934a9c9c82a6062f5ef44e2a
This commit is contained in:
committed by
Weichin Weng
parent
7b9184bff4
commit
fbb5f7b34c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user