Merge "Fix issue with both shell and launcher updating drag surface" into tm-qpr-dev

This commit is contained in:
Winson Chung
2023-02-21 22:50:45 +00:00
committed by Android (Google) Code Review

View File

@@ -369,7 +369,9 @@ public class DragLayout extends LinearLayout {
// Start animating the drop UI out with the drag surface
hide(event, dropCompleteCallback);
hideDragSurface(dragSurface);
if (handledDrop) {
hideDragSurface(dragSurface);
}
return handledDrop;
}