Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 83584cc3 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

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
parent 1c6f1389
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment