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

Commit 9fafb044 authored by Evan Rosky's avatar Evan Rosky
Browse files

Fix visual artifacts in some multi-window scenarios

onDisplayChanged was using ActivityStack's surface bounds
update (ie. cropping) for Task-level.

Bug: 148157819
Bug: 148146791
Bug: 148246658
Test: Enter split-screen, rotate phone, move split around and
      observe that it isn't cropped. Can also use winscope to
      verify

Change-Id: I41d6bb98286d5430d725779cad27ddfa90833fc2
parent 36f8b83e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4034,8 +4034,10 @@ class ActivityStack extends Task implements BoundsAnimationTarget {
    @Override
    void onDisplayChanged(DisplayContent dc) {
        super.onDisplayChanged(dc);
        if (isRootTask()) {
            updateSurfaceBounds();
        }
    }

    /**
     * Determines the stack and task bounds of the other stack when in docked mode. The current task