History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
beeee64617684297013c023ece2eb2d5e8f94376 25-Feb-2017 Makoto Onuki <omakoto@google.com> Sanity check against contact-id = 0

Test: adb shell am instrument -w com.android.providers.contacts.tests

Bug 35756516

Change-Id: I3627fab41781b9d547f69320ff2519708d81135b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
e2e9ac275e487ce558579ee65ff8f122cf498b07 06-Oct-2016 Makoto Onuki <omakoto@google.com> Don't expose raw usage stats to clients; return "low-res" values.

- "times_used" now return values after the following conversion:
value == 0 -> 0
value < 10 -> 1
10 <= value <= 19 -> 10
20 <= value <= 29 -> 20
:
:

- "last_time_used" now returns values in day granularity.

Test: run-all-tests.sh
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check \
com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a \
-m CtsProviderTestCases

Bug 31753890

Change-Id: Ief2b93ce7775bb6482c03ceb1ba0fd367d51eed8
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
e3443220edd7afdba6e5c4259232ad2b253fa1c8 22-Feb-2016 Tingting Wang <tingtingw@google.com> Notify change for rawContact metadata change.

Also apply change to Contacts table if there is change in RawContacts
send_to_voicemail.

BUG 27295917
BUG 27296055

Change-Id: I2d85ea18ad1d341bcd2f576b21b405826265677c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
63a781313c71c966f9ca44a0cb3c13b477981f52 30-Jul-2015 Zheng Fu <zhengfu@google.com> Don't show aggregation suggestions for contacts itself.

Bug:22224442
Change-Id: I82a52daef157b0280329402a90fd9a8becd60034
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
e5bd832dd7743f98fd816f7e6568f715015764bd 18-Jul-2015 Zheng Fu <zhengfu@google.com> Fix failing tests due to logic changes in the new aggregator.

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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
cc9ce6b1c8f9d7c4d8b4da96003ce74ccaa636cc 11-Jul-2015 Zheng Fu <zhengfu@google.com> Dealing with some edge cases with soft deleted contacts.
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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
5ca831dc33dfa16821647e14e377c484df823c80 08-Jul-2015 Zheng Fu <zhengfu@google.com> Fix bug in aggregation suggestions in new contacts aggregator.

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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
d0d961e19f19704f7967dadf5be61fe6273a1d32 01-Jun-2015 Zheng Fu <zhengfu@google.com> Performance tuning for contact aggregator2

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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
3a83f4c60fbe7eb2ee31186d0675dcfbac3ee6b5 27-May-2015 Makoto Onuki <omakoto@google.com> Fix invalidateAggregationExceptionCache().

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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
74e4f99cada94d6ca6be5d1bfee9abe7c4561253 25-Apr-2015 Zheng Fu <zhengfu@google.com> Fix some set concurrency issues in new aggregator.

Bug:19908937
Change-Id: Iade51905c1e5a1810b709d7b533984ceb6254939
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
aa18c233fdec3359c5231d4a5f61188446bf5d6f 16-Apr-2015 Zheng Fu <zhengfu@google.com> use new setting flag to switch between current and new aggregator.

In order for the switch, add AbstractContactAggregator for
ContactAggregator and ContactAggregator2.

Bug:20055573
Change-Id: I6f27d4df8017938b226f5c6371b15ba41fd18acd
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java
b94bfa502569ce869d443353c174d02754d42a82 16-Apr-2015 Zheng Fu <zhengfu@google.com> Fork ContactAggregator to AbstractContactAggregator to keep file hsitory.

Bug:20055573
Change-Id: I42c85df36f039b59707101660441243fb90baca2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/AbstractContactAggregator.java