diff --git a/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java b/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java index abca1f87d5..438d4a03b8 100644 --- a/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java +++ b/src/com/android/launcher3/widget/picker/WidgetsFullSheet.java @@ -888,6 +888,18 @@ public class WidgetsFullSheet extends BaseWidgetSheet return mContent; } + /** Gets the search bar, which is used for testing */ // b/294050472 + @VisibleForTesting + public View getSearchBar() { + return (View) mSearchBar; + } + + /** Gets the search bar container, which is used for testing */ // b/294050472 + @VisibleForTesting + public View getSearchBarContainer() { + return (View) mSearchBarContainer; + } + /** Opens the first header in widget picker and scrolls to the top of the RecyclerView. */ @VisibleForTesting public void openFirstHeader() {