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

Commit b45f925d authored by Maryam Dehaini's avatar Maryam Dehaini
Browse files

Add shadow during startTransition

Add the shadow to the startTransition in WindowDecoration#relayout.

Test: Transition to freeform and assure shadow is there
Bug: 280824252
Change-Id: I5d037622243c9a14d81e9a00a2e14797b464cf71
parent 53a00167
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -267,6 +267,7 @@ public abstract class WindowDecoration<T extends View & TaskFocusStateConsumer>
                .setColor(mTaskSurface, mTmpColor)
                .show(mTaskSurface);
        finishT.setPosition(mTaskSurface, taskPosition.x, taskPosition.y)
                .setShadowRadius(mTaskSurface, shadowRadius)
                .setWindowCrop(mTaskSurface, outResult.mWidth, outResult.mHeight);
        if (mTaskInfo.getWindowingMode() == WINDOWING_MODE_FREEFORM) {
            startT.setCornerRadius(mTaskSurface, params.mCornerRadius);