commit | 88c504cbc58eca06cc2fdbd386bad50df3ad6921 | [log] [tgz] |
---|---|---|
author | Vinit Nayak <peanutbutter@google.com> | Mon Aug 05 14:20:24 2019 -0700 |
committer | Vinit Nayak <peanutbutter@google.com> | Mon Aug 05 15:16:18 2019 -0700 |
tree | b6d251bf4c0ff05234d7b1cbff72a3814aaa29b0 | |
parent | 2ef7b3ec1d7d859bc1d1a08f2b2025754f75a15a [diff] |
Only fire EvictionCallback when item actually evicted In TaskKeyLruCache, we currently call the EvictionCallback without checking if the entry was actually evicted or not. fixes: 138952364 Test: Unit tests, manually inspected via debugger Change-Id: Ic8e871f8e5a0324e4d00011d5bcd7036302b5c68