Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a20ba4c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Clear home surface crop size while being organized" into rvc-dev am:...

Merge "Clear home surface crop size while being organized" into rvc-dev am: 74e31b7c am: c3c29eb6 am: d41aa231 am: 3c584805

Change-Id: I7d580cc61957b43d4346cc248e62b2f20bccd080
parents 3c04e1d3 3c584805
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1091,6 +1091,7 @@ public class DividerView extends FrameLayout implements OnTouchListener,
            t.setPosition(mTiles.mHomeAndRecentsSurfaces.get(i),
            t.setPosition(mTiles.mHomeAndRecentsSurfaces.get(i),
                    mTiles.mHomeBounds.left - otherTaskRect.left,
                    mTiles.mHomeBounds.left - otherTaskRect.left,
                    mTiles.mHomeBounds.top - otherTaskRect.top);
                    mTiles.mHomeBounds.top - otherTaskRect.top);
            t.setWindowCrop(mTiles.mHomeAndRecentsSurfaces.get(i), null);
        }
        }
        final SurfaceControl dividerCtrl = getWindowSurfaceControl();
        final SurfaceControl dividerCtrl = getWindowSurfaceControl();
        if (dividerCtrl != null) {
        if (dividerCtrl != null) {
+0 −3
Original line number Original line Diff line number Diff line
@@ -241,9 +241,6 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
                                + " multi-window mode... newParent=" + newParent + " task=" + task);
                                + " multi-window mode... newParent=" + newParent + " task=" + task);
                        return 0;
                        return 0;
                    } else {
                    } 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,
                        task.reparent((ActivityStack) newParent,
                                hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM,
                                hop.getToTop() ? POSITION_TOP : POSITION_BOTTOM,
                                false /*moveParents*/, "sanitizeAndApplyHierarchyOp");
                                false /*moveParents*/, "sanitizeAndApplyHierarchyOp");