invalidate itemDecoration on predictedRow focus draw

Change-Id: I66c731f00ae1c1292c51ff281957f05fd2d70dfa
This commit is contained in:
Samuel Fufa committed 2020-10-08 18:42:48 -07:00
1 parent 8d5b118060
commit 692d2109a6
2 files changed
+3 -6

No files matched your search

@@ -200,7 +200,7 @@ public class FloatingHeaderView extends LinearLayout implements
public View getFocusedChild() {
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()) {
for (FloatingHeaderRow row : mAllRows) {
if (row.hasVisibleContent()) {
if (row.hasVisibleContent() && row.shouldDraw()) {
return row.getFocusedChild();
}
}