summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Vladimir Komsiyski <vladokom@google.com> 2024-09-12 18:16:37 +0200
committer Vladimir Komsiyski <vladokom@google.com> 2024-09-13 18:26:09 +0000
commit83584cc3b80a45587fe1ad53d632511f4cfd567a (patch)
tree87bb7d9866b2cf4bea405f53d120b3884ed18db3 /wifi/java/src
parent1c6f1389801b423d5afae78d1fdc5de75a70f536 (diff)
Fix rounded corners in transitions on non-internal displays
Currently getWindowCornerRaduis always returns the default display's rounded corners because this is what is returned by RoundedCorners#getRoundedCornerRadius etc. This should only be done for displays that have their corner radii in the resources, i.e. built-in internal displays - this is what DisplayPolicy#getWindowCornerRadius checks and returns 0 otherwise. Adding this check directly to ScreenDecorationsUtils. Fix: 365846717 Test: presubmit Flag: EXEMPT trivial bugfix Change-Id: I2133917df504af1467db706918db2b6050b5067c
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions