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

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

Change-Id: Ie572a5b7412049138123c31e080e8b4ef5de914b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Winson Chung
2023-02-21 23:02:56 +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;
}