OSDN Git Service

Ensuring that we evict ActivityInfos from the cache.
authorWinson <winsonc@google.com>
Tue, 15 Mar 2016 01:58:43 +0000 (18:58 -0700)
committerWinson <winsonc@google.com>
Wed, 16 Mar 2016 18:00:30 +0000 (11:00 -0700)
commita1b96b5d58e3d0e938b8fc3a6d3e8bf8b115f568
tree6876d1c72e5e1a2b3b1c36324ff6f04747fe15b1
parenta651601771b8a5b227e075353c240dc059f71eaa
Ensuring that we evict ActivityInfos from the cache.

- Once the data that we depend on the ActivityInfos for are evicted,
  also remove them from the cache so that they are not stale the next
  time we might want to use them.

Bug: 27495264
Change-Id: I615842df4f48deb12a051ef241991a51a10cf383
packages/SystemUI/src/com/android/systemui/recents/model/RecentsTaskLoader.java
packages/SystemUI/src/com/android/systemui/recents/model/TaskKeyLruCache.java