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

Commit 3c584805 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

Change-Id: I9e9530ac5dae3eab131d2f1e9ca3db7dc274c0b5
parents fb1cb5bf d41aa231
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {
+0 −3
Original line number Diff line number Diff line
@@ -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");