Notify predictor on appIcon convert to folder

Bug:148749638
Test:Manual
Change-Id: I7eed1f309197479f708a23029c04106af0ac536f
This commit is contained in:
Samuel Fufa
2020-02-02 18:55:44 -08:00
parent 4e7a48f2f5
commit 746d420f76
4 changed files with 37 additions and 5 deletions

View File

@@ -1703,8 +1703,8 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
float scale = mLauncher.getDragLayer().getDescendantRectRelativeToSelf(v, folderLocation);
target.removeView(v);
FolderIcon fi =
mLauncher.addFolder(target, container, screenId, targetCell[0], targetCell[1]);
FolderIcon fi = mLauncher.addFolder(target, sourceInfo, container, screenId,
targetCell[0], targetCell[1]);
destInfo.cellX = -1;
destInfo.cellY = -1;
sourceInfo.cellX = -1;