diff options
author | 2025-03-24 10:29:27 +0800 | |
---|---|---|
committer | 2025-03-24 10:29:27 +0800 | |
commit | 960df119c538ebd94b7e2de6c42029bf684aa3b3 (patch) | |
tree | 43af0b90f036c9c63e4552f7df21b1410750268d /libs/usb/api | |
parent | 15cde45d3ed3ece5b055d96710ba4720bf503537 (diff) |
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
Diffstat (limited to 'libs/usb/api')
0 files changed, 0 insertions, 0 deletions