mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Fix missing item decorator for the search recycler view
Bug: 267200724 Test: manual Change-Id: Ibae6607cb4473d986f48b6aed3f2ef98c3857399
This commit is contained in:
@@ -426,6 +426,10 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
|
||||
return;
|
||||
}
|
||||
|
||||
RecyclerView.ItemDecoration decoration = getMainAdapterProvider().getDecorator();
|
||||
getSearchRecyclerView().removeItemDecoration(decoration);
|
||||
getSearchRecyclerView().addItemDecoration(decoration);
|
||||
|
||||
// replaceAppsRVcontainer() needs to use both mUsingTabs value to remove the old view AND
|
||||
// showTabs value to create new view. Hence the mUsingTabs new value assignment MUST happen
|
||||
// after this call.
|
||||
|
||||
Reference in New Issue
Block a user