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:
@@ -52,6 +52,6 @@ class DrawableCache extends ThemedResourceCache<Drawable.ConstantState> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) {
|
public boolean shouldInvalidateEntry(Drawable.ConstantState entry, int configChanges) {
|
||||||
return false;
|
return Configuration.needNewResources(configChanges, entry.getChangingConfigurations());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user