mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Adding support for easily extending Launcher DragAndDrop support
Bug: 232165524 Test: Verified locally Change-Id: I3b4f37bc9914de55330662edd678e6fdd0eafece
This commit is contained in:
@@ -85,7 +85,7 @@ public class PredictionUpdateTask extends BaseModelUpdateTask {
|
||||
.filter(info -> user.equals(info.user) && cn.equals(info.componentName))
|
||||
.map(ai -> {
|
||||
app.getIconCache().getTitleAndIcon(ai, false);
|
||||
return ai.makeWorkspaceItem();
|
||||
return ai.makeWorkspaceItem(context);
|
||||
})
|
||||
.findAny()
|
||||
.orElseGet(() -> {
|
||||
@@ -96,7 +96,7 @@ public class PredictionUpdateTask extends BaseModelUpdateTask {
|
||||
}
|
||||
AppInfo ai = new AppInfo(context, lai, user);
|
||||
app.getIconCache().getTitleAndIcon(ai, lai, false);
|
||||
return ai.makeWorkspaceItem();
|
||||
return ai.makeWorkspaceItem(context);
|
||||
});
|
||||
|
||||
if (itemInfo == null) {
|
||||
|
||||
Reference in New Issue
Block a user