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

Commit 960df119 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Use crop method that allows invalid rect

Restore to be the same as legacy WindowAnimationSpec that
uses setWindowCrop as well. In case the animation's
transform.getClipRect causes to an invalid rect. And setCrop
will throw exception for that. But it should be fine to set
invalid rect as clearing crop.

Bug: 400316924
Flag: EXEMPT bugfix
Test: Use makeClipRevealAnimation with invalid rect to launch app
Change-Id: I8987d699f79af50f70cee545f90efb37c9f3b268
parent 15cde45d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment