Merge "Fix CrossAppDragAndDropTests failed" into tm-dev
This commit is contained in:
@@ -342,6 +342,11 @@ class DragDropController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void reportDropWindow(IBinder token, float x, float y) {
|
void reportDropWindow(IBinder token, float x, float y) {
|
||||||
|
if (mDragState == null) {
|
||||||
|
Slog.w(TAG_WM, "Drag state is closed.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
synchronized (mService.mGlobalLock) {
|
synchronized (mService.mGlobalLock) {
|
||||||
mDragState.reportDropWindowLock(token, x, y);
|
mDragState.reportDropWindowLock(token, x, y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user