Merge "Fix CrossAppDragAndDropTests failed" into tm-dev am: 1ae1828729

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

Change-Id: I26039e7d426b0675c0ae97b0004c553bf5c75788
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Arthur Hung
2022-06-07 13:52:48 +00:00
committed by Automerger Merge Worker

View File

@@ -342,6 +342,11 @@ class DragDropController {
}
void reportDropWindow(IBinder token, float x, float y) {
if (mDragState == null) {
Slog.w(TAG_WM, "Drag state is closed.");
return;
}
synchronized (mService.mGlobalLock) {
mDragState.reportDropWindowLock(token, x, y);
}