Merge "Add missing invalidation check to drawable cache" into mnc-dev

This commit is contained in:
Alan Viverette
2015-07-20 22:44:30 +00:00
committed by Android (Google) Code Review

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