session-android/src/org/thoughtcrime/securesms/contacts
Moxie Marlinspike 7a5846a6d4 Move more system contact info into recipient database
1) Move contact URI, contact photo URI, and custom label
   into recipient database, so there are no longer any
   contact DB queries during Recipient object loading.

2) Use a SoftHashMap so that any referenced Recipient objects
   can't get kicked out of the cache.

3) Don't load Recipient objects through the provider during sync.
   This was a super expensive thing to do, and blew up the cache.

4) Only apply changes to Recipient objects during sync if they
   are in the cache. Otherwise, there should be no outstanding
   references, and the changes are fine going exclusively to
   the DB.
2017-11-30 10:26:41 -08:00
..
avatars Use Glide for all contact photo caching 2017-10-11 17:47:12 -07:00
ArrayListCursor.java Initial Project Import 2011-12-20 10:20:44 -08:00
ContactAccessor.java Move more system contact info into recipient database 2017-11-30 10:26:41 -08:00
ContactIdentityManager.java Improve support for "me" contact. 2012-10-22 19:17:08 -07:00
ContactIdentityManagerGingerbread.java Split into library project and add shared preferences layer of indirection. 2014-01-06 14:20:59 -08:00
ContactIdentityManagerICS.java Major reorganization of view/model interactions. 2012-10-28 18:24:21 -07:00
ContactsCursorLoader.java Support for selective permissions 2017-11-30 10:26:41 -08:00
ContactsDatabase.java Don't invalidate entire recipient cache when contact data changes 2017-11-30 10:26:41 -08:00
ContactSelectionListAdapter.java Add recent chats to top of share list 2017-11-16 15:21:46 -08:00
ContactSelectionListItem.java Don't show group ID in recent contact selection list 2017-11-19 16:46:12 -08:00
ContactsSyncAdapter.java Ensure notifications for new users won't be generated first fetch 2017-11-30 10:26:41 -08:00
NameAndNumber.java whitespace cleanup 2014-12-12 14:39:51 -08:00
RecipientsAdapter.java Initial Project Import 2011-12-20 10:20:44 -08:00
RecipientsEditor.java Switch MMS groups to use the group database infrastructure 2017-08-28 10:30:50 -07:00