Skip to content
Commit 1c827da6 authored by Christopher Tate's avatar Christopher Tate
Browse files

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
parent 1ae7fd5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment