diff options
author | Abodunrinwa Toki <toki@google.com> | 2017-07-12 19:38:54 +0100 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2017-07-12 20:26:27 +0100 |
commit | d44286f94240f79b26703cf1dcff94893135c93c (patch) | |
tree | fe7ce2d24e1aa0541ad0e549b143394308d8a8e4 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 3c3acf8bf1f48d5a1d33282ff24be5e1300d3298 (diff) |
TextClassification.text is nullable
Removes the @NonNull requirement on TextClassification.text.
e.g. TextClassifier.NO_OP doesn't classify text and thus returns
TextClassification.EMPTY which doesn't set TextClassification.text.
This is ideal as we need not make copies of this object when NO_OP
was performed.
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest
bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I0b3ac5bf0027cbd67ba40d1110f1100280c8c3a2
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions