| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
MetadataSync.data column info is parsed to MetadataEntry object.
RawContact, Data, DataUsageStats, AggregationException tables need to
be updated or inserted for the given rawContactId from MetadataEntry.
BUG 20055193
Change-Id: I5bdfe2c44f9c9af8d4067dc136ceb62ab0b274af
|
|
|
|
|
|
|
|
|
|
| |
metadata_sync.data is a text column contains the DeviceContactMetadata
Json string got from People API. Converting it to MetadataEntry object
is needed before using.
BUG 20055450
Change-Id: Ic82b07438fdf088563fcdcc99980b83df149734f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Need to update golden files per ICU version update.
See also: I695558055cc139b42b71da9138f61d19bcbd9758
Also add some annotations for tests.
Note that this doesn't fix every test. It looks the other
test breakages are harder to resolve.
Bug: 4645142
Change-Id: Ib487c28c3cd73dd702962e4590ada1a6319c2e50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change includes:
- A database upgrade to support tracking whether a contact represents the
user's profile (represented as an optional raw contact ID specified
per-account, and looked up in the various views).
- New Contact Provider URIs for retrieving profile-specific data:
- profile: To retrieve the user's profile contact.
- profile/data: To retrieve data for the user's profile contact.
- profile/data/#: To retrieve data for a specific data entry for the user's
profile entry, by data ID.
- profile/entities: To select entities for the user's profile.
- profile/as_vcard: To retrieve the profile as a VCard.
- profile/raw_contacts: To retrieve or insert raw contacts for the user's
profile.
- profile/raw_contacts/#: To retrieve a specific raw contact entry for the
user's profile, by raw contact ID.
- profile/raw_contacts/#/data: To retrieve data for a specific raw contact
entry for the user's profile, by raw contact ID.
- profile/raw_contacts/#/entity: To retrieve raw contact entities for a
specific raw contact entry for the user's profile, by raw contact ID.
- Permission checks to ensure that any access to profile data (whether
explicitly through the above URIs or directly via ID) enforces READ_PROFILE
or WRITE_PROFILE access.
- New and updated tests (including permission check cases for all of the above,
plus query checks for each).
I've also had to move a few large tests to medium to work around
b/3329504. I've also removed the database close step from contacts provider
test teardowns, as it doesn't seem to be necessary, and results in almost a 3x
performance boost on test runs.
Change-Id: I220552c26ad1eb3fbf24fdd865df2fe59fe4a688
|
|
|
|
|
|
|
|
|
| |
The breakage was caused mostly by the upgrade to the new version of ICU
Bug: 2894663
Bug: 2894703
Change-Id: If7f28bba8eb1b9aa303e8aa7ec29cf026e51e334
|
|
|
|
|
|
|
|
| |
The issue is that the importer set the is_primary flag, but
not the is_superprimary flag.
Bug: 2535177
Change-Id: I32e11d1bb9c1068781d1a734256a223f75543e7f
|
|
|
|
|
|
|
|
|
| |
Donut->Froyo update. Reworked Tests.
Bug:2517163
Bug:2521116
Change-Id: I8e33650acf9a59b52719289e37257c1b3c55a7a9
|
|
|
|
|
|
|
| |
contacts.
Bug: 2385103
Change-Id: I79d7e4d62077a5ebc0231c24ffa07ea05ba9c77f
|
|
|
|
|
| |
Bug: 2461372
Change-Id: I587a8654c0d14d7145230238fe44585a65803698
|
|
|
|
| |
Change-Id: Ie85b0dd312368bf04e2343471265c51437dea6f1
|
| |
|
|
|
|
|
|
|
| |
Now parsing display name into tokens and allowing permutations of those.
Bug IDs: 2132657, 2132636, 2089893
Change-Id: Idea256bbec3b82fb229199c6bd6e9d7b145ab075
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The importer will create contacts just like the aggregator would,
but without actually aggregating duplicates. All raw contacts
are still marked for reaggregation, so the dupes are still discovered
in the subsequent aggregation pass.
The user experience is that all contacts show up very quickly (on sholes
we should expect to see 700 contacts within 15-17 seconds). Then a bit
later duplicates start disappearing.
|
| |
|
| |
|
|
|
| |
Adding code to compute HAS_PHONE_NUMBER on a Contact.
|
|
|
|
|
|
| |
?mark_as_dirty=true parameter.
Sync adapters should be able to set their own data on the Data row without
triggering another round of syncing.
|
|
|
|
|
| |
This CL serves two purposes:
1. We hide the restriction checking inside SQL VIEWs, which will prevent security attacks like passing ") OR(1" for selection
2. We gain the ability to use unqualified column names in selections - all columns on a VIEW have unique names.
|
|
|