Skip to content
Commit c2e38ce2 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Fix: Wrong TextView height when DynamicLayout is used.

When DynamicLayout is used, max line is not set for
computing layout even if TextView has the limit. So, we
still need to use getLineTop in getDesiredHeight.
This bug was introduced by I1e1cae31cf33d503a8cf.

Bug: 34279529
Test: manually tested
Test: android.widget.cts.TextViewTest

Change-Id: I9b7a3c46e7671a84e6a830eb962a49d2b0856eab
parent 27379c0f
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