| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
1. Exlude soft deleted contacts for aggregator algorithm upgrade.
2. Make sure to update the contacts.name_raw_contact_id column for
soft deleted raw contact.
Bug:22378846
Change-Id: I53a48ced645f9b00b708b4b9d88518a529834f89
|
|
|
|
|
|
|
|
| |
Also Moved UserUtils to utils/
Bug 15779911
Change-Id: Ia4445772f12ebbc0f7832f3700c6fecf2ba13dd2
|
|
|
|
|
|
|
|
|
| |
Two methods in MoreDatabaseUtils are no longer used after a recent bug
fix. But the tests for them are erroring out in userdebug builds because
proguard is stripping the methods.
Bug: 8894559
Change-Id: Idc2b4c9fd2fd6b58a3c44e5a40dec1b1c582cd2e
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Contacts with multiple raw contacts were not being inserted into the delete
log when accounts are removed. This was due to the raw contacts being removed
in batch instead of one at a time. The logic to determine whether a contact
can be deleted was determining whether other raw contacts exist. This does
not work when all raw contacts are removed in a single batch.
Added logic to pre-select contacts that will be deleted.
Bug: 8696462
Change-Id: I95adccf9e6756bbf6ca9dd7d144c1d9ee8905631
|
|
|
|
|
|
|
|
| |
Sqlite has a limit of 999 bind variables by default. Since there is no risk
of sql injection in this method, change to building sql by concatentation.
Bug: 8676489
Change-Id: I9bfea735bb14fd65c84eb4255825b7ad3f5fae71
|
|
Updates and inserts can be detected through the use of a new timestamp
field in the contacts table.
Deletes can be detected by querying the new deleted_contacts table.
Bug: 8182147
Change-Id: I5c1e596f4e1aa58528afc29396f79cb4051e229c
|