| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
caused by this: http://review.cyanogenmod.org/#/c/134250
Change-Id: I93e3691da1f5a8655ce04d0bdedeadbbdbb8bc8d
|
|
|
|
|
|
|
| |
Cached values should be null immediately after CallLog.addCall
Bug: 22011651
Change-Id: I8ebbe71be9e9ad9a2f3fd694c0c19e847a3cf60f
|
|
|
|
|
|
|
|
|
|
| |
1. All the raw contacts with same name and no data will group together,
so we need to assign different names in this test.
2. We don't have split step anymore, so there is no unpin operation.
3. Fix Long comparison in the aggregator.
Bug:22566083
Change-Id: I1a963bf17866e7569012e4cceca034e7c8312aa3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Move identification matching to secondary
2. In the first stage, do secondary matching only if there is no
structured name
3. Aggregate all the raw contacts without structured name if they
have matching secondary data
4. Remove approximate name matching in aggregator. (This will not
impact the name variant, such as John and Johathan matching)
Bug:22200630
Bug:21931859
Change-Id: I295e283dbe1929e20b80272027df226c01bc2f74
|
|
|
|
|
|
|
|
|
| |
New contact aggregator is using rawContactsMatcher, which is keyed by
rawContactId instead of contactId. So we need to remove bestMatches
with duplicate contactId for calculating the aggregation suggestions.
Bug:22224442
Change-Id: I9e77400a5b09ec28d5bc120706cd4dfe2e296d56
|
|
|
|
|
|
|
|
| |
Originally was comparing content values with "1" but some other sources
use "true", check for boolean value instead of integer value.
Bug: 21281858
Change-Id: I0124311ba7343826d094c621e6b2899053d6dabf
|
|\ |
|
| |
| |
| |
| |
| | |
Bug:20553119
Change-Id: I89b48cc5a39a57ebeafe7821f07c410dac871258
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Bug:19908937
Change-Id: I77e09aac3c60c60882f508a637225a4dc478a2ce
|
|/
|
|
|
|
| |
Bug 20257870
Change-Id: I5e7e12372dde1aeffaea1e953c16d86e341c3b66
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Delete voicemails when VoicemailCleanupService runs by
checking whether delete is called internally.
* Delete unnecessary MockPackageManager class, and consolidate
all logic into ContactsMockPackageManager
* Separate permissions tests and delete logic tests in
VoicemailProviderTest
* Correct the number of exposed Call columns in CallLogProviderTest
Bug: 20669398
Change-Id: I695b82b639b93f3ce85bf6e20000279f19e4a14a
|
|
|
|
|
|
|
| |
Bug 21632829
Bug 21634841
Change-Id: Ic18f44e8de31fe48b1d3b7f3a49c355a4865aeca
|
|
|
|
|
| |
Bug: 21090207
Change-Id: I496a3c70c69ee1507c626ab2fcee9edf4bdb5ceb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Skip already aggregated raw contacts during aggregation algorithm upgrade.
2. Remove case conversion during email comparion for better performance.
3. Fix bugs in the ContactAggregatorHelper to fix the flaky unit test.
Bug:21466686
Bug:19908937
Change-Id: I6f59894a4fdc605fe1b92ac82e2ac9e90561a158
|
|/
|
|
|
| |
Bug: 21090207
Change-Id: I7e93e36ad0c0d667ac56983c76acb1b97bd8755c
|
|
|
|
|
|
|
|
|
| |
Also clean up aggregator in preparation in preparation for b/19482664
Two tests in ContactAggregator2Test are failing, but it's irrelevant to this
change. (Bug filed for this.)
Change-Id: Id630812335fdaa2ab4955c240700b82fed84d1a8
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0. Add unit test for aggregator2.
1. Only aggregate raw contacts in the default directory
2. Remove aggregation exception matches from the aggregation suggestion list
3. Fix the sqls to clear primary settings when merging
4. Make the scoring system consistent with current aggregator.
5. Don't aggregate raw contacts without name to any other raw contacts even
when data matching exist.
Bug: 19908937
Change-Id: Ie580def5ee9e3a291cd5bf112ccb29627f9b67cc
|
|
|
|
|
|
|
| |
Cause: The corp provider is not wiped for each test.
Bug: 19551175
Change-Id: I2b5428a74b584299ded745b15c3019e8d6091361
|
|
|
|
|
|
|
|
|
|
|
| |
- PhotoPriorityResolverTest
Now the mock sync adapter needs an intent filter
- LegacyContactsProviderTest
The authority check in ContentProvider got tightened, which broke our test because
we didn't set up the multiple authorities correctly.
Change-Id: Iab1eed24434bd159a99f0b794a7756554dc02281
|
|
|
|
|
|
|
|
|
| |
- All permission checks now always pass if the caller is self.
- Remove uses-permissions that're enforced by self.
Bug 20927020
Change-Id: I985338495ed947d317f37e1a8d674a40c5e6bfe4
|
|
|
|
|
|
|
| |
Fix test failures caused by ICU version update to 55.1
Bug:20669398
Change-Id: I4c18a2e33db2b701b49c9bb715cee814ef0bde04
|
|
|
|
|
| |
Bug: 19551175
Change-Id: I6b91b77edcd999adb0a3184ea695949fe85f5315
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Bug: 19551175
Change-Id: I69bdb672e64474a8daf12c3c38ea5fe262684aab
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 19990833
Change-Id: Ibba3a0594262b975b3b4fdd4ebd1fcf1e40ff98a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows updating and querying of voicemail entires for their
respective phone account columns.
Update tests to reflect this change:
- Increase number of voicemail columns to 18
- Add phone_account_* fields to update test
Bug: 19236241
Change-Id: I16b3c9d2a74bc7e169de4dd108b39b94acc98c4f
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also add a ContactAggregatorHelper class to hold some helper methods
to better falicitate unit testing
Bug:19908937
Change-Id: I2e2bcef2228e7a171e9c3259c27c3fa28bde646c
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. DPM checks it and launches QC on
the work profile, if the policy allows it.
Design doc: go/cp2-mnc-enterprise-dd
Bug 19546108
Change-Id: Iccba8254269180281af0154f4b9c20cbfff5c27d
|
| |
| |
| |
| |
| |
| | |
This reverts commit 9d5369ac6c1d788384d52b11da10f60571238405.
Change-Id: Ib442e2ac351146ad2d5129e39a999478b8ffe547
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Now openQuickContact goes thorough DPM. When a lookup URI is build with
a lookup key returned by the enterprise lookup APIs for a corp contact, the
lookup key will have a special prefix. DPM checks it and launches QC on
the work profile, if the policy allows it.
Design doc: go/cp2-mnc-enterprise-dd
Bug 19546108
Change-Id: I30ffcc1f6f394144182f2cb2b6032568ea5b33eb
|
|
|
|
|
|
|
|
|
| |
Like PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI
Apps in primary profile can have email lookup in managed profile
Bug: 19550046
Change-Id: I492909126faf4e1a2eb5c72f7f76f3a7a0656e6a
|
|
|
|
|
|
|
|
|
| |
raw_contacts.backup_id and data.hash_id have been added to schema.
To make them accessible, they need to be added to projection map.
BUG 19667203
Change-Id: I7d122843668d7ed31fc998a2c7f00dc909181fc8
|
|\
| |
| |
| | |
Change-Id: I439330f8c022ce85005d84fd4286f4f1ffdced1c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do a database upgrade for MNC in order to add multi-SIM fields to the
voicemail_status table and add "dirty" and "deleted" fields to
voicemails table. Add functionality in DbModifierWithNotification to
handle "dirty" and "deleted" appropriately. This new functionality is
tested in VoicemailProviderTest and CallLogProviderTest.
Bug:19236241
Change-Id: I25ebba0bdb5f720e48beaf17dbdd2846e494da74
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To accomodate backup and restore of the call log, we have to convert the
existing sub-ID to an ICC ID. Also, add the source_phone_number to the
list of call log columns.
The ICC ID improves backup and restore because it is persistent across
different devices where a sub ID is not. If the user completely changes
their SIM card, the source_phone_number will be helpful in identifying
that scenario if the user kept their old phone.
Change-Id: Ib35e25216691e580b5ea539929ff16b2e3d30b88
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Moved to CallLogBackup.apk
Change-Id: I1aee3bb1dc4378bff0d346d424692bc60b3fdc40
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When choosing display names, prioritize StructuredNames that
have more than phonetic components.
I make no attempt to handle the case where a StructuredName
with only phonetic components is marked super primary. If
clients do this, the behavior is still undefined.
Bug: 19587274
Change-Id: I503c0fff6da30b9f1d6b6cbeaedfc4d9314f8a00
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
regardless of requested projections.
In order to rewrite the cursor returned from the corp CP2, certain columns
are needed to compute other columns.
(e.g. PHOTO_URI requires _ID and PHOTO_FILE_ID).
This CL fixes that by always requesting all columns to the corp CP2.
Now rewriteCorpPhoneLookup() shrinks down the projection.
Bug 19545750
Change-Id: Id817d069554ebc89759303760effb557b152d58a
|
|/ /
| |
| |
| | |
Change-Id: I5f8ff641bbd3b9c186cb6e2e230ae70d02055fe4
|