Merge "Fix drag and drop and resize freeform window broken on secondary display" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-06-04 00:28:23 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ class DragState {
.setContainerLayer() .setContainerLayer()
.setName("Drag and Drop Input Consumer") .setName("Drag and Drop Input Consumer")
.setCallsite("DragState.showInputSurface") .setCallsite("DragState.showInputSurface")
.setParent(mDisplayContent.getOverlayLayer())
.build(); .build();
} }
final InputWindowHandle h = getInputWindowHandle(); final InputWindowHandle h = getInputWindowHandle();

View File

@@ -73,6 +73,7 @@ class TaskPositioningController {
.setContainerLayer() .setContainerLayer()
.setName("Drag and Drop Input Consumer") .setName("Drag and Drop Input Consumer")
.setCallsite("TaskPositioningController.showInputSurface") .setCallsite("TaskPositioningController.showInputSurface")
.setParent(dc.getOverlayLayer())
.build(); .build();
} }