commit | 160daa80e79f26e32b121ff1f2eba688c2380821 | [log] [tgz] |
---|---|---|
author | Flavio Lerda <flerda@google.com> | Thu Jun 09 10:42:06 2011 +0100 |
committer | Flavio Lerda <flerda@google.com> | Wed Jun 29 10:08:57 2011 +0100 |
tree | ca1c706f1784f102ecb60fe48d8df98a8ff5cd35 | |
parent | fa3f7b6898e9f61b93a4c871c307bd72cb719806 [diff] |
Use a cache for the contact info in the call log. This commit introduces an ExpirableCache, a cache whose elements can be marked as expired. Instead of clearing the cache when the activity is resume, marked the items in the cache as expired. Items that are found in the cache but are expired will trigger a re-fetch of the contact details. Change-Id: Ib06534c33d3427047afc4d95fc254a644a92d836