diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2017-01-16 18:42:38 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2017-01-16 19:34:41 +0900 |
commit | c2e38ce28171b7c58d5b4694996fb7dcbfa90429 (patch) | |
tree | 33e3a559f5975f931610d48633cb4b3609275ae7 /tools/aapt2/diff/Diff.cpp | |
parent | 27379c0f897912a877916b40fa7d405d8fb7e493 (diff) |
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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions