summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2018-02-28 18:21:29 -0800
committerSeigo Nonaka <nona@google.com>2018-03-07 18:30:27 +0000
commite1ffb54167c8ff78855352a324ff8332a33fc805 (patch)
tree22954e17e87f129451f18dc8d7e69c7314ee0acb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1e36211a9633c2f0a87701e0f9bf78291514da03 (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 (cherry picked from commit 3a0787af5e1bb1f615c1dd2192a08464ea3776e3)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions