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

Commit 9e52a04b authored by nicolasroard's avatar nicolasroard
Browse files

Fix crash in caching pipeline

Geometry filters wrongly collapsed with other filters

bug:10903204
Change-Id: Iaee3082e605f4cdaba236df014fb41a4975d05d6
parent 105fbcf3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -271,7 +271,8 @@ public class FilterRepresentation {
    }

    public boolean canMergeWith(FilterRepresentation representation) {
        if (representation.getFilterType() == FilterRepresentation.TYPE_GEOMETRY) {
        if (getFilterType() == FilterRepresentation.TYPE_GEOMETRY
            && representation.getFilterType() == FilterRepresentation.TYPE_GEOMETRY) {
            return true;
        }
        return false;