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

Commit 8e6518f3 authored by Evan Rosky's avatar Evan Rosky Committed by android-build-merger
Browse files

Merge "Don't crop freeform windows by policy" into qt-dev

am: 940edc7a

Change-Id: Ia4ad016600b391f268575fe944a0c7bc39625e8c
parents af83bfa3 940edc7a
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -805,7 +805,12 @@ public class TaskStack extends WindowContainer<Task> implements
        if (width == mLastSurfaceSize.x && height == mLastSurfaceSize.y) {
            return;
        }
        if (getWindowConfiguration().tasksAreFloating()) {
            // Don't crop freeform windows to the stack.
            transaction.setWindowCrop(mSurfaceControl, -1, -1);
        } else {
            transaction.setWindowCrop(mSurfaceControl, width, height);
        }
        mLastSurfaceSize.set(width, height);
    }

+1 −1
Original line number Diff line number Diff line
@@ -766,7 +766,7 @@ class WindowStateAnimator {
            return false;
        }

        if (w.inPinnedWindowingMode()) {
        if (w.getWindowConfiguration().tasksAreFloating()) {
            return false;
        }