commit | 45febbb8a8c00f739914649ad60167e7ec3810e4 | [log] [tgz] |
---|---|---|
author | Adrian Roos <roosa@google.com> | Tue Oct 11 13:41:27 2016 -0700 |
committer | Adrian Roos <roosa@google.com> | Mon Oct 17 18:35:14 2016 +0000 |
tree | 5d8c08c5e61d4cecd4bf58307124f756dddc0951 | |
parent | ac276482552f88d8be122d3b194f0cb3fbb793e2 [diff] |
ImageWallpaper: forget wallpaper in background Forgetting the wallpaper requires holding the wallpaper manager lock - which is also held when the bitmap is read from disk. To prevent blocking the main thread, we need to offload the forget operation to the background too. Change-Id: Ic20c4f5fd86b788efd5b77a417108383dda343b9 Fixes: 28769940 Test: manually change wallpaper, rotate screen