Invalidate style stack resids
Style resid stacks should also be invalidated when invalidating AssetManager caches. Bug:117176857 Test: manual Change-Id: I28224597adf4b0af8326bd788eab289e4ba60418
This commit is contained in:
@@ -1052,6 +1052,8 @@ void AssetManager2::RebuildFilterList(bool filter_incompatible_configs) {
|
||||
}
|
||||
|
||||
void AssetManager2::InvalidateCaches(uint32_t diff) {
|
||||
cached_bag_resid_stacks_.clear();
|
||||
|
||||
if (diff == 0xffffffffu) {
|
||||
// Everything must go.
|
||||
cached_bags_.clear();
|
||||
|
||||
Reference in New Issue
Block a user