diff options
author | Siyamed Sinir <siyamed@google.com> | 2017-05-25 19:37:06 -0700 |
---|---|---|
committer | Siyamed Sinir <siyamed@google.com> | 2017-05-26 12:00:51 -0700 |
commit | cfc79a9e5f5773f5d8d5246f734b62459c79bf92 (patch) | |
tree | 891fe6171a15dc9c4f5074ca3b0910a3553c328f /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | afea5e8ca42b29074da5d6a2d9fd58ad5995cafa (diff) |
Don’t try to autoSize if TextView is not measured
This CL early returns from auto sizing text if the view is not measured
yet.
Test: run cts --test android.widget.cts.TextViewTest -m CtsWidgetTestCases
Test: Added cts.TextViewTest#testAutosizeWithMaxLines_shouldNotThrowException
Test: Manual test with sample app for the failing case.
Bug: 38440435
Change-Id: Ic03c991f33a2b7701623f00f44cba7fb6cdfce46
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions