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

Commit 1530eee0 authored by Robert Carr's avatar Robert Carr Committed by Wale Ogunwale
Browse files

Task: Don't set crop for Organized surfaces.

Currently we check mCreatedByOrganizer so we don't set them on
split-screen TaskRoots. We also don't want to set the crop from
Framework in PIP as the SysUI implementation needs to synchronize
it with animation frames.

Bug: 150810705
Test: Resize pip. No weird cropping.
Change-Id: Idaaed49b03bd7d2ccf93998708b7b5a98a10a362
parent 2162a2f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2013,7 +2013,7 @@ class Task extends WindowContainer<WindowContainer> {
    }

    void updateSurfaceSize(SurfaceControl.Transaction transaction) {
        if (mSurfaceControl == null || mCreatedByOrganizer) {
        if (mSurfaceControl == null || isOrganized()) {
            return;
        }