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

Commit e99f3c96 authored by Stevie Kideckel's avatar Stevie Kideckel
Browse files

Fix bug in equals implementation for search headers

Fix: 191626327
Test: verified locally
Change-Id: I8103059a2759a8533581ff86cb57b28913cf5731
parent 5ca92844
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -60,7 +60,7 @@ public final class WidgetsListSearchHeaderEntry extends WidgetsListBaseEntry
        WidgetsListSearchHeaderEntry otherEntry = (WidgetsListSearchHeaderEntry) obj;
        WidgetsListSearchHeaderEntry otherEntry = (WidgetsListSearchHeaderEntry) obj;
        return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem)
        return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem)
                && mTitleSectionName.equals(otherEntry.mTitleSectionName)
                && mTitleSectionName.equals(otherEntry.mTitleSectionName)
                && mIsWidgetListShown;
                && mIsWidgetListShown == otherEntry.mIsWidgetListShown;
    }
    }


    /** Returns a copy of this {@link WidgetsListSearchHeaderEntry} with the widget list shown. */
    /** Returns a copy of this {@link WidgetsListSearchHeaderEntry} with the widget list shown. */