diff options
author | Adrian Roos <roosa@google.com> | 2016-10-11 13:41:27 -0700 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2016-10-17 18:35:14 +0000 |
commit | 45febbb8a8c00f739914649ad60167e7ec3810e4 (patch) | |
tree | 5d8c08c5e61d4cecd4bf58307124f756dddc0951 /tools/aapt2/diff/Diff.cpp | |
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions