convertCheckBox2Remove

Converts an AppInfoData object representing a checkbox item to an AppInfoData object suitable for a "remove" action.

This is typically used when an item is selected from a list with checkboxes, and it needs to be displayed in a "selected items" view with a remove button.

The returned AppInfoData will have its icon and sub-icon (if present) set as new mutated drawables.

Return

A new AppInfoData object configured for a "remove" action.

Parameters

appInfoData

The AppInfoData object to convert.