Skip to content
Commit a099ac1f authored by shawnlin's avatar shawnlin
Browse files

Fixed RoundedCorner bugs

1. Fixed WindowInsets.getRoundedCorner() returns negative centers
   - negative centers should be treated as empty rounded corner.
2. Fixed Display.getRoundedCorner() doesn't align the current rotation
   - return the correct rounded corners of the current rotation.

Bug: 182227121
Test: atest RoundedCornerTest
Change-Id: I701afc4e7908d51af60c18e7b2adebc770138543
parent a68ff5dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment