commit | c2f4537495d10dc7580fc6ffbd1444e420447fc5 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Tue Nov 19 15:22:33 2024 -0800 |
committer | Brandon Dayauon <brdayauon@google.com> | Wed Nov 20 14:30:41 2024 -0800 |
tree | 1415c4c311dfd083f237fea743a7c9bc0ca43a6f | |
parent | d3a4f9f721b5904881275ab6da15509477c51b27 [diff] |
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
diff --git a/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java b/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java index 7e3e392..fe11ee2 100644 --- a/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java +++ b/src/com/android/launcher3/allapps/search/AllAppsSearchBarController.java
@@ -150,6 +150,7 @@ mCallback.clearSearchResult(); mInput.reset(); mInput.clearFocus(); + mInput.hideKeyboard(); mQuery = null; }