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

Skip to content
Commit fa043bb5 authored by Tyler Freeman's avatar Tyler Freeman
Browse files

fix(non linear font scaling): recalculate proportional line height if they...

fix(non linear font scaling): recalculate proportional line height if they setTextSize() after setting line height

This will only recalculate if both were set in SP, since that's the only
time the proportion calculation happens anyway.

Bug: 273326061
Test: atest cts/tests/tests/widget/src/android/widget/cts/TextViewFontScalingTest.kt

Change-Id: I41ad12cdef6f1b93b60deca039c9ab72bb59e39f
parent a4d59758
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