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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21492889

Change-Id: I7eaeaa02ee239fba67c9ae02ffd11645c387c9c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Winson Chung
2023-02-22 00:10:03 +00:00
committed by Automerger Merge Worker

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;
}