am 9362d96a: am 783b3d9d: am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev
* commit '9362d96a26954aed897badecf7e0c6222e01e9e8': 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