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

Commit dab9e240 authored by Jorge Betancourt's avatar Jorge Betancourt
Browse files

fix BlendModeColorFilter equality by checking color

Bug:384514345
Test: atest BlendModeColorFilterTest#testBlendModeColorFilterEquality

Flag: EXEMPT bugfix

Change-Id: I0a802a93acb121c487df6afd4851ccc377d57914
parent 5f07d0a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public final class BlendModeColorFilter extends ColorFilter {
            return false;
        }
        final BlendModeColorFilter other = (BlendModeColorFilter) object;
        return other.mMode == mMode;
        return (other.mMode == mMode && other.mColor == mColor);
    }

    @Override