Revert "[RoundedCorner] Use the correct source bounds and crop."
This reverts commit 7956695e. Reason for revert: Results in weird crop issues. Below is the original commit message: Previously we call getBounds to calculate the rounded corner, but that's wrong. For an app layer, what we really need is the source bounds of the layer, and the actual crop with transformation but without any parent bounds and display bounds. However, only the root view has the correct crop information. And thus this patch passes the correct bounds up to the root, and use the crop from the root to calculate the rounded corner bounds. Change-Id: I5319614ba74ee2877fe382575f2e7f9da418d585 BUG: 125916918 Test: Build, flash and boot. Verify with window transition.
Loading
Please register or sign in to comment