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

Commit 10331fec authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix broken inset anims" into rvc-dev am: e858e30c

Change-Id: Id3e1e7f991a3a59217e8c9be8b7a328d4cae8662
parents f5576c55 e858e30c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -281,7 +281,7 @@ public class InsetsAnimationControlImpl implements WindowInsetsAnimationControll
            // If the system is controlling the insets source, the leash can be null.
            if (leash != null) {
                // TODO: use a better interpolation for fade.
                alpha = mFade ? ((float) maxInset / inset * 0.3f + 0.7f) : alpha;
                alpha = mFade ? ((float) inset / maxInset * 0.3f + 0.7f) : alpha;
                surfaceParams.add(new SurfaceParams(leash, side == ISIDE_FLOATING ? 1 : alpha,
                        mTmpMatrix, null /* windowCrop */, 0 /* layer */, 0f /* cornerRadius*/,
                        side == ISIDE_FLOATING ? state.getSource(source.getType()).isVisible()