* commit '783b3d9d0954f7bba5f69ed7a15af61c55af7cfc': Add missing invalidation check to drawable cache
This commit is contained in:
@@ -52,6 +52,6 @@ class DrawableCache extends ThemedResourceCache<Drawable.ConstantState> {
|
||||
|
||||
@Override
|
||||
public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) {
|
||||
return false;
|
||||
return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user