Merge "Fix bug in equals implementation for search headers" into sc-dev

This commit is contained in:
Stevie Kideckel 2021-06-21 12:56:17 +00:00 committed by Android (Google) Code Review
commit 61bc5c6c93
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public final class WidgetsListSearchHeaderEntry extends WidgetsListBaseEntry
WidgetsListSearchHeaderEntry otherEntry = (WidgetsListSearchHeaderEntry) obj;
return mWidgets.equals(otherEntry.mWidgets) && mPkgItem.equals(otherEntry.mPkgItem)
&& mTitleSectionName.equals(otherEntry.mTitleSectionName)
&& mIsWidgetListShown;
&& mIsWidgetListShown == otherEntry.mIsWidgetListShown;
}
/** Returns a copy of this {@link WidgetsListSearchHeaderEntry} with the widget list shown. */