Merge "Moved hide keyboard to its own method" into ub-launcher3-calgary

This commit is contained in:
Peter Schiller
2016-07-27 02:31:46 +00:00
committed by Android (Google) Code Review
@@ -144,6 +144,10 @@ public abstract class AllAppsSearchBarController
unfocusSearchField();
mCb.clearSearchResult();
mInput.setText("");
hideKeyboard();
}
protected void hideKeyboard() {
mInputMethodManager.hideSoftInputFromWindow(mInput.getWindowToken(), 0);
}