Merge "Clear home surface crop size while being organized" into rvc-dev am: 74e31b7c64
Change-Id: I2810752b4b4e69f91ea0d49dd734e0c5fa747875
This commit is contained in:
@@ -1091,6 +1091,7 @@ public class DividerView extends FrameLayout implements OnTouchListener,
|
||||
t.setPosition(mTiles.mHomeAndRecentsSurfaces.get(i),
|
||||
mTiles.mHomeBounds.left - otherTaskRect.left,
|
||||
mTiles.mHomeBounds.top - otherTaskRect.top);
|
||||
t.setWindowCrop(mTiles.mHomeAndRecentsSurfaces.get(i), null);
|
||||
}
|
||||
final SurfaceControl dividerCtrl = getWindowSurfaceControl();
|
||||
if (dividerCtrl != null) {
|
||||
|
||||
@@ -241,9 +241,6 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
|
||||
+ " multi-window mode... newParent=" + newParent + " task=" + task);
|
||||
return 0;
|
||||
} else {
|
||||
// Clear the window crop on root task since it may not be updated after
|
||||
// reparent (no longer be a root task)
|
||||
task.getSurfaceControl().setWindowCrop(null);
|
||||
task.reparent((ActivityStack) newParent,
|
||||
hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM,
|
||||
false /*moveParents*/, "sanitizeAndApplyHierarchyOp");
|
||||
|
||||
Reference in New Issue
Block a user