Fix the case of the missing header.

We should not override the tabs based on the search state now
that they are hidden (but still active) during the animation.

For an explanation of why this fixes the issue, please see
https://b.corp.google.com/issues/247615711#comment15.

Fix: 247615711
Test: Manually with predicted apps being updated every second
(part of the way I found to repro the bug).

Change-Id: I5ba45c42726c34f471a7743c06aecc05c89f6105
This commit is contained in:
Andy Wickham
2022-09-21 17:04:48 -07:00
parent 860657a5f2
commit 30b87aad7d

View File

@@ -178,11 +178,6 @@ public class ActivityAllAppsContainerView<T extends Context & AppLauncher
}
}
@Override
protected boolean shouldShowTabs() {
return super.shouldShowTabs() && !isSearching();
}
@Override
public boolean isSearching() {
return mIsSearching;