commit | e0c90b5a5b076e1a92cf865c11214836f9c147fd | [log] [tgz] |
---|---|---|
author | Yorke Lee <yorkelee@google.com> | Wed May 27 12:14:57 2015 -0700 |
committer | Yorke Lee <yorkelee@google.com> | Wed May 27 12:17:35 2015 -0700 |
tree | 56f176c9cc8c6e8ab14a6a0a4a6f36679111b63f | |
parent | 3a52e63987bc9858cc2967825994533ca4b0b1d6 [diff] |
Don't recache in ContactPhotoManager unnecessarily The ContactPhotoManager currently constantly tries to recache bitmaps that were unable to load, or were too big to fit in the cache. This can cause unnecessary CPU/network usage. Use a dummy object instead to indicate that the bitmap should not be reloaded for the given URI. Bug: 21423350 Change-Id: I32c02efce3592b81c581adcfda39e1e668cefa60