commit | 1c827da635732826136bf75046e968cbb4554acf | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Wed May 02 13:18:35 2018 -0700 |
committer | Christopher Tate <ctate@google.com> | Wed May 02 13:18:35 2018 -0700 |
tree | d825028ba481d920fce86777279a06e789a7decf | |
parent | 1ae7fd5f4470c3f93186548d8f118662e944b329 [diff] |
Just drop the default WP bitmap, don't explicitly recycle it Recycling invalidates it out from under any client code that might have retained the reference previously. That's not sociable. Just drop the internal cache reference. The underlying storage will be properly freed by GC if it's genuinely not being used anywhere else. Change-Id: I94e0e2ba2b78daa40c8026e6fc72fda3bed57ae3 Fixes: 79108131 Bug: 74534423 Test: atest android.content.cts.ContextWrapperTest#testAccessWallpaper