Update hero app shortcuts with icon

- set appropriate click handler for recycled app icons

Bug: 168810843
Bug: 168733655
Test: Manual
Change-Id: Ic644deb4ac6c7a1cb9a2c3b75f7e2ac86380a9d0
This commit is contained in:
Samuel Fufa
2020-09-22 18:28:22 -07:00
parent e718381bef
commit 99d6c2ff0d
2 changed files with 26 additions and 7 deletions

View File

@@ -495,6 +495,10 @@ public class AllAppsGridAdapter extends
});
withPayload.setSelectionHandler(selectionHandler);
}
else {
icon.setOnClickListener(mOnIconClickListener);
icon.setOnLongClickListener(mOnIconLongClickListener);
}
break;
case VIEW_TYPE_EMPTY_SEARCH:
TextView emptyViewText = (TextView) holder.itemView;