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

Commit 6f51440a authored by Alan Viverette's avatar Alan Viverette
Browse files

Always apply color filter passed to DrawableContainer.setColorFilter

Bug: 19461256
Change-Id: Id44d276739b868e504139cdf767992039f3e4336
parent b3f3762e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ public class DrawableContainer extends Drawable implements Drawable.Callback {

    @Override
    public void setColorFilter(ColorFilter cf) {
        mDrawableContainerState.mHasColorFilter = (cf != null);
        mDrawableContainerState.mHasColorFilter = true;

        if (mDrawableContainerState.mColorFilter != cf) {
            mDrawableContainerState.mColorFilter = cf;