Moved hide keyboard to its own method

Change-Id: I3f5877965a2b8f92d48e2fecef54f400b6e455d2
This commit is contained in:
Peter Schiller committed 2016-07-26 17:34:05 -07:00
1 parent c664f24de2
commit 35d96306ad
1 file changed
+4
@@ -144,6 +144,10 @@ public abstract class AllAppsSearchBarController
unfocusSearchField();
mCb.clearSearchResult();
mInput.setText("");
hideKeyboard();
}
protected void hideKeyboard() {
mInputMethodManager.hideSoftInputFromWindow(mInput.getWindowToken(), 0);
}