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

Commit 06849da4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Resolve search scroll hightlight issue" into ub-launcher3-master

parents 20d99c52 3116dc91
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="@dimen/search_line_spacing"
            android:maxLines="1"
            android:textColor="?android:attr/textColorPrimary"
            android:textSize="@dimen/search_hero_title_size" />

+1 −2
Original line number Diff line number Diff line
@@ -184,8 +184,7 @@ public class AllAppsGridAdapter extends
                    || viewType == VIEW_TYPE_SEARCH_THUMBNAIL
                    || viewType == VIEW_TYPE_SEARCH_ICON_ROW
                    || viewType == VIEW_TYPE_SEARCH_ICON
                    || viewType == VIEW_TYPE_SEARCH_SUGGEST
                    || viewType == VIEW_TYPE_SEARCH_WIDGET_LIVE;
                    || viewType == VIEW_TYPE_SEARCH_SUGGEST;
        }
    }

+2 −1
Original line number Diff line number Diff line
@@ -98,7 +98,8 @@ public class AllAppsSectionDecorator extends RecyclerView.ItemDecoration {
                    mAppsView.getActiveRecyclerView().getLayoutManager();
            if (layoutManager.findFirstVisibleItemPosition() <= index
                    && index < parent.getChildCount()) {
                decorationHandler.onFocusDraw(c, parent.getChildAt(index));
                RecyclerView.ViewHolder vh = parent.findViewHolderForAdapterPosition(index);
                if (vh != null) decorationHandler.onFocusDraw(c, vh.itemView);
            }
        }
        decorationHandler.reset();