mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Introduce onAnimateToSearchStateCompleted() in SearchUiDelegate.
This will be called when transition animation to search is completed. Bug: 285166099 Flag: NA Test: Manual Change-Id: I69e594cbf3564a866d258654fc23a00410e7deab
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user