commit | 812c2cfb8313d0a196bc60dab4604e271feb098a | [log] [tgz] |
---|---|---|
author | Michael Bestas <mkbestas@lineageos.org> | Thu Jun 15 02:16:26 2023 +0300 |
committer | Michael Bestas <mkbestas@lineageos.org> | Thu Jun 15 16:44:48 2023 +0300 |
tree | 001299611c206d947e0162c3056f885fc5ba0fcb | |
parent | 8a69f4ad62aea121e1569bf3ca83285788f73f18 [diff] |
fixup! Hide scrollbar when searching All Apps Change-Id: I0e0694c7dc328257de013ee45569b1d834bb8bdb
diff --git a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java index d7c505c..fe914dc 100644 --- a/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
@@ -1016,6 +1016,13 @@ } } + protected void setScrollbarVisibility(boolean visible) { + AllAppsRecyclerView rv = getActiveRecyclerView(); + if (rv != null && rv.getScrollbar() != null) { + rv.getScrollbar().setVisibility(visible ? VISIBLE : GONE); + } + } + protected void updateSearchResultsVisibility() { if (isSearching()) { getSearchRecyclerView().setVisibility(VISIBLE);