commit | 5a95250b5b59dbefe931c4a4f19a8252b67cc3b0 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Mon Mar 04 22:21:16 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Mar 04 22:21:16 2019 +0000 |
tree | 46e02e2435133050a9fddc30039c96f6d1ecd2d9 | |
parent | a59197e3aac3dce5002e29d2559e56bdabad7994 [diff] | |
parent | 2c4d874d72588cefe36acf19eded4b09c24cad2d [diff] |
Merge "Invalidate style stack resids"
diff --git a/libs/androidfw/AssetManager2.cpp b/libs/androidfw/AssetManager2.cpp index 117d05e..d74f27c 100644 --- a/libs/androidfw/AssetManager2.cpp +++ b/libs/androidfw/AssetManager2.cpp
@@ -1052,6 +1052,8 @@ } void AssetManager2::InvalidateCaches(uint32_t diff) { + cached_bag_resid_stacks_.clear(); + if (diff == 0xffffffffu) { // Everything must go. cached_bags_.clear();