Fix keyboard staying up in AOSP launcher.

The keyboard doesn't close when swiping down from A-Z list. So in Launcher when going to any state from A-Z getAPpsView().reset() gets called which eventually
calls resetSearch() where we can hideKeyboard.

bug: 379052503
Test: before in bug
after: https://drive.google.com/file/d/11oVTvkBtj9rECEtz4IVH1tURaJz6pFTO/view?usp=sharing
Flag: NONE bug fix
Change-Id: I707bf5dc2f81d5e83e869e34de674ef7fc065486
This commit is contained in:
Brandon Dayauon
2024-11-19 15:22:33 -08:00
parent d3a4f9f721
commit c2f4537495
@@ -150,6 +150,7 @@ public class AllAppsSearchBarController
mCallback.clearSearchResult();
mInput.reset();
mInput.clearFocus();
mInput.hideKeyboard();
mQuery = null;
}