commit | a099ac1f983bbaf04e1413409e63fff8c61f6b6c | [log] [tgz] |
---|---|---|
author | shawnlin <shawnlin@google.com> | Tue Mar 09 12:04:06 2021 +0800 |
committer | shawnlin <shawnlin@google.com> | Tue Mar 09 13:01:47 2021 +0800 |
tree | b9bc4676499274e4cf2096f1ca6da945b0affe6f | |
parent | a68ff5dc22fce0cae3994975bd3f73e7489bc4be [diff] |
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