Merge "Add missing invalidation check to drawable cache" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
001f1e7eb3
@@ -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