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

Commit 30b87aad authored by Andy Wickham's avatar Andy Wickham
Browse files

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
parent 860657a5
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;