mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Moved hide keyboard to its own method
Change-Id: I3f5877965a2b8f92d48e2fecef54f400b6e455d2
This commit is contained in:
@@ -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