am 76648c58: Making long-press of AllApps to jump directly to search.

* commit '76648c58d5fe8e5c0695f865243d3f421c53a84d':
  Making long-press of AllApps to jump directly to search.
This commit is contained in:
Winson Chung authored and Android Git Automerger committed 2015-07-10 23:35:58 +00:00
commit 19795603fe
4 files changed
+52 -20

No files matched your search

@@ -284,6 +284,15 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
return new DefaultAppSearchController(getContext(), this, mAppsRecyclerView);
}
/**
* Focuses the search field and begins an app search.
*/
public void startAppsSearch() {
if (mSearchBarController != null) {
mSearchBarController.focusSearchField();
}
}
@Override
protected void onFinishInflate() {
super.onFinishInflate();