diff options
| author | Seigo Nonaka <nona@google.com> | 2018-02-28 18:21:29 -0800 |
|---|---|---|
| committer | Seigo Nonaka <nona@google.com> | 2018-03-02 12:56:52 -0800 |
| commit | 3a0787af5e1bb1f615c1dd2192a08464ea3776e3 (patch) | |
| tree | c2e6567edb814282e1fc706e0774f25e468bad1d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
| parent | 3f6bd7b6088b1eddfe3fe0353eb524d5bf3bc48d (diff) | |
Throw an exception in case of parameter mismatch of precomputed text
If the given precomputed text is not compatible with the TextView,
reject the text by throwing IllegalArgumentException.
Bug: 73091756
Test: atest CtsWidgetTestCases:EditTextTest
CtsWidgetTestCases:TextViewFadingEdgeTest
FrameworksCoreTests:TextViewFallbackLineSpacingTest
FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
CtsTextTestCases FrameworksCoreTests:android.text
CtsWidgetTestCases:TextViewPrecomputedTextTest
Change-Id: I4fbf89a5f1409e8eefdeb9f208f9a3758220fe1a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions
