Restore divider between app predictions and apps

Screenshot: https://screenshot.googleplex.com/89jJLU3JXV8tRXM
Bug: 180017741
Test: Manual
Change-Id: Iab1764fe94340f120770054cf5a59bd3ed9e45a4
This commit is contained in:
Samuel Fufa
2021-02-24 10:05:01 -06:00
parent c7d72e55ec
commit b984cf7fa6
5 changed files with 17 additions and 9 deletions

View File

@@ -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() && row.shouldDraw()) {
if (row.hasVisibleContent() && row.isVisible()) {
return row.getFocusedChild();
}
}