am 0947f5c2: Merge "Adding graphic for all apps empty search screen." into ub-launcher3-burnaby

* commit '0947f5c26804bc74b8f1242d856c1f703544c3de':
  Adding graphic for all apps empty search screen.
This commit is contained in:
Winson Chung
2015-08-28 21:20:28 +00:00
committed by Android Git Automerger
34 changed files with 288 additions and 5 deletions

View File

@@ -615,13 +615,14 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
if (apps != null) {
mApps.setOrderedFilter(apps);
mAdapter.setLastSearchQuery(query);
mAppsRecyclerView.scrollToTop();
mAppsRecyclerView.onSearchResultsChanged();
}
}
@Override
public void clearSearchResult() {
mApps.setOrderedFilter(null);
mAppsRecyclerView.onSearchResultsChanged();
// Clear the search query
mSearchQueryBuilder.clear();