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

Skip to content
Commit c6d3e0b1 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Don't apply hard coded vertical metrics if target SDK is 35 or later

Accidentally, the hard coded vertical metrics are not applied if the
target SDK is 35 or later if elegantTextHeight is set to true on
TextView or XML attribute.
This CL makes this behavior universal, so the behavior
has not been changed in most places including Jetpack Compose.

The hard coded verical metrics are introduced for avoiding clipping
in many years ago, but it is now not needed because the text layout
engine extends the vertical metrics to be able to draw the entire
text with the used font.

Bug: 354762355
Test: Manually done
Flag: EXEMPT bugfix
Change-Id: I16cd1414804bcdb25ec11913fe11651c66f60c24
parent cc9c7f85
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