Merge "Add CACHED_NAME into call history database when the add call."
This commit is contained in:
@@ -684,6 +684,9 @@ public class CallLog {
|
|||||||
values.put(PHONE_ACCOUNT_ID, accountId);
|
values.put(PHONE_ACCOUNT_ID, accountId);
|
||||||
values.put(PHONE_ACCOUNT_ADDRESS, accountAddress);
|
values.put(PHONE_ACCOUNT_ADDRESS, accountAddress);
|
||||||
values.put(NEW, Integer.valueOf(1));
|
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);
|
values.put(ADD_FOR_ALL_USERS, addForAllUsers ? 1 : 0);
|
||||||
|
|
||||||
if (callType == MISSED_TYPE) {
|
if (callType == MISSED_TYPE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user