summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ryan Mitchell <rtmitchell@google.com> 2019-03-04 22:21:16 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-03-04 22:21:16 +0000
commit5a95250b5b59dbefe931c4a4f19a8252b67cc3b0 (patch)
tree46e02e2435133050a9fddc30039c96f6d1ecd2d9
parenta59197e3aac3dce5002e29d2559e56bdabad7994 (diff)
parent2c4d874d72588cefe36acf19eded4b09c24cad2d (diff)
Merge "Invalidate style stack resids"
-rw-r--r--libs/androidfw/AssetManager2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/androidfw/AssetManager2.cpp b/libs/androidfw/AssetManager2.cpp
index 117d05e837ef..d74f27cca200 100644
--- a/libs/androidfw/AssetManager2.cpp
+++ b/libs/androidfw/AssetManager2.cpp
@@ -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();