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
Loading
Please register or sign in to comment