mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Merge "Fix missing item decorator for the search recycler view" into tm-qpr-dev am: 1656f428b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21151951 Change-Id: I2b720554906dc9cb2ce49aa6798a6fc94ef83553 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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