Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ef1e773 authored by Alan Viverette's avatar Alan Viverette
Browse files

Add missing invalidation check to drawable cache

Bug: 22478448
Change-Id: Ic9da1898cd921d8c133ef5397fc97a664601a863
parent 29cf9aea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
    }
}