Add missing invalidation check to drawable cache

Bug: 22478448
Change-Id: Ic9da1898cd921d8c133ef5397fc97a664601a863
This commit is contained in:
Alan Viverette
2015-07-20 16:03:04 -04:00
parent 29cf9aea54
commit 7ef1e773fd

View File

@@ -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());
}
}