commit | 81bf29c9983b8005888c8044abc9ed0f38c8bce8 | [log] [tgz] |
---|---|---|
author | Samuel Fufa <sfufa@google.com> | Thu Feb 25 12:51:56 2021 -0600 |
committer | Samuel Fufa <sfufa@google.com> | Fri Feb 26 12:26:41 2021 -0600 |
tree | 22f89f8121cc1295200011b194355c53d240c634 | |
parent | 4ffd4f03c6b77f347726312b3b44dc89cde49d96 [diff] |
Show typeahead hint for app results Preview: https://drive.google.com/file/d/1_qB-HDVfqqzPOhnuq5Hj9grhh69av7xf/view Bug: 180545101 Test: Manual Change-Id: I0649fa0e19f850fdc4de3776f6ac9f450bb0501b
diff --git a/src/com/android/launcher3/allapps/SearchUiManager.java b/src/com/android/launcher3/allapps/SearchUiManager.java index f926086..39410a7 100644 --- a/src/com/android/launcher3/allapps/SearchUiManager.java +++ b/src/com/android/launcher3/allapps/SearchUiManager.java
@@ -61,7 +61,8 @@ /** * Called when activity is destroyed. Used to close search system services */ - default void destroy(){} + default void destroy() { + } /** * Returns true if the QSB should be visible for the given set of visible elements @@ -75,4 +76,9 @@ */ @Nullable EditText getEditText(); + + /** + * sets highlight result's title + */ + default void setFocusedResultTitle(@Nullable CharSequence title) { } }