diff options
author | Abodunrinwa Toki <toki@google.com> | 2017-11-23 12:22:45 +0000 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2017-11-29 19:57:11 +0000 |
commit | 4d232d6243af42e2784664f6fab040e853f05223 (patch) | |
tree | 3b2da388d5c3f666d6a997616a7e3224393581fd /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1a0e948f61e901cd22650f0ef7424e911b8af109 (diff) |
TextClassifier cleanup #1
- Introduces TextClassifier methods that do not take options
- Adds warning to TextClassifier implementations not to implement
or call certain default methods. Ideally, only one of the
overloaded interface methods (the one that takes Options) needs
to be implemented
- Changes TextLinks.Options to a mutable type
- Updates tests
TODO: Introduce a TextClassification.Builder.setDefaultAction(...) and
change addAction(...) to addExtraAction(...).
TODO: Cts test to validate input params.
Bug: 68846316
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I9a12935388e16a9b57567a71c97afaee63405183
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions