diff options
author | Siyamed Sinir <siyamed@google.com> | 2017-09-13 01:29:26 -0700 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2017-09-13 09:05:53 +0000 |
commit | dcb33f1618a663a6aad2cce4c7faec1cc79d04a0 (patch) | |
tree | 8c99c5c9a8ff90fee74a90dc1f4c44c1c1054294 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4562ecebc6379423194e1654749f249790c10747 (diff) |
Fix maxLines/lines properties for BoringLayout
Line height calculation with maxLines set to zero displayed a single
line when BoringLayout was used. This CL fixes it to show zero lines.
Test: Added related CTS tests to TextViewTest and EditTextText
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit CtsWidgetTestCases:android.widget.cts.EditTextTest
Bug: 65435738
Change-Id: Ic21eb50b31666b2dcc2398278010fa072ea1ff67
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions