am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev

* commit '001f1e7eb35630df24d53298c1a3d2de055d7ce9':
  Add missing invalidation check to drawable cache
This commit is contained in:
Alan Viverette
2015-07-20 22:59:33 +00:00
committed by Android Git Automerger

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