fix: Clear two layers stale state from highlight decorator (#6819)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach authored and GitHub committed 2026-05-31 13:58:13 +00:00
1 parent 9382280d9a
commit 3e52c8a5ab
7 files changed
+41 -31

No files matched your search

@@ -1783,7 +1783,7 @@ public class ActivityAllAppsContainerView<T extends Context & ActivityContext>
new ViewGroupFocusHelper(mRecyclerView)) : new FocusedItemDecorator(
mRecyclerView);
mRecyclerView.addItemDecoration(focusedItemDecorator);
// LC-Note: This is needed for highlight focused app decoration, this has some problem of it own but purely visual.
// LC-Note: This is needed for highlight decoration
if (isSearch()) {
RecyclerView.ItemDecoration searchDecorator = getMainAdapterProvider().getDecorator();
if (searchDecorator != null) {