517d590dc73e5efcf7c94e2431faec2473924ca2 |
|
07-Jul-2017 |
Makoto Onuki <omakoto@google.com> |
Make CP2 low-ram friendly - Switch to ArrayMap|Set - No common nickname DB on lowram devices - Don't use WAL for profile DB, ever - Don't use WAL for contacts2.db on lowram devices Bug 63340057 Test: adb shell am instrument -w -e package android.provider.cts.contacts \ android.provider.cts/android.support.test.runner.AndroidJUnitRunner Test: bit ContactsProviderTests Change-Id: I16a6b41762874590c487ac82020bd1da7d7c0a0a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatchingCandidates.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/util/RawContactMatchingCandidates.java
|
d6c0a1330d3e51706d70351a34631f1f4e8fb02f |
|
26-Mar-2015 |
Zheng Fu <zhengfu@google.com> |
New contact aggregator (part 1) Summary of the changes are: 1. In RawContactMatcher, add rawContactId and accountId to MatchScore inner class, so that match score is on raw contacts level instead] of accumulate to contact level 2. Add a wrapper RawContactMatchingCandidates to MatchScore to facilitate the aggregation. 3. In ContactAggregator2, add findRawContactMatchingCandidates() method to find the set of matching raw contacts for a given raw_contact_id. This method will use the logic of updateMatchScoresForSuggestionsBasedOnDataMatches() so that it will give a set of raw contacts candidate with matching score above threshold. 4. The second stage "Pair-wise comparison and find the connected component of all the raw contacts in RawContactMatchingCandidates" is done in new method reAggregateRawContacts(); 5. Some new methods still throw unSupportedOperationExceptions, and they will be implemented in part2. 6. Tests will be implemented in follow-up cls. Bug:19908937 Change-Id: I53483a29c24401e2f38a727168e7431cef86370a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/RawContactMatchingCandidates.java
|