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

Commit 55405157 authored by Anushree Ganjam's avatar Anushree Ganjam Committed by Android (Google) Code Review
Browse files

Merge "Introduce onAnimateToSearchStateCompleted() in SearchUiDelegate." into udc-qpr-dev

parents 933f2b9f 660679f9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -391,7 +391,10 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
                        rebindAdapters(false);
                        mRebindAdaptersAfterSearchAnimation = false;
                    }
                    if (!goingToSearch) {

                    if (goingToSearch) {
                        mSearchUiDelegate.onAnimateToSearchStateCompleted();
                    } else {
                        setSearchResults(null);
                        if (mViewPager != null) {
                            mViewPager.setCurrentPage(previousPage);
+5 −0
Original line number Diff line number Diff line
@@ -49,6 +49,11 @@ public class AllAppsSearchUiDelegate {
        // Do nothing.
    }

    /** Invoked when transition animations to go to search is completed . */
    public void onAnimateToSearchStateCompleted() {
        // Do nothing
    }

    /** Invoked when the search bar has been added to All Apps. */
    public void onInitializeSearchBar() {
        // Do nothing.