Merge "Moved hide keyboard to its own method" into ub-launcher3-calgary
This commit is contained in:
committed by
Android (Google) Code Review
commit
2ee96c86bc
@@ -144,6 +144,10 @@ public abstract class AllAppsSearchBarController
|
||||
unfocusSearchField();
|
||||
mCb.clearSearchResult();
|
||||
mInput.setText("");
|
||||
hideKeyboard();
|
||||
}
|
||||
|
||||
protected void hideKeyboard() {
|
||||
mInputMethodManager.hideSoftInputFromWindow(mInput.getWindowToken(), 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user