Merge "Fix CrossAppDragAndDropTests failed" into tm-dev

This commit is contained in:
Arthur Hung
2022-06-07 13:31:55 +00:00
committed by Android (Google) Code Review

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