summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJan Althaus <jalt@google.com>2018-03-23 14:03:52 +0100
committerJan Althaus <jalt@google.com>2018-03-28 11:41:39 +0200
commit20d346eafec9404fb6f5b8eeb9a18ad794b4ca9a (patch)
tree39976aa7fcf8eadcc50b21fe0269fa6eccc39c15 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d5bbf77b528b77255d3a6abf7c74935fe924e51 (diff)
Change TextClassification to use RemoteActions
Behavioural changes: - Every action now as an icon, and instead hints via RemoteAction whether the icon should be shown or not. - Icons are now taken from the app default, not the activity. (That way, we can construct a lightweight resource backed Icon) - Legacy intents are no longer parceled for security reasons. (TextClassificatio wasn't parcelable in O) - TextClassifications built with the new API will always return null for getIntent, but provide a getOnClickListener. - Accessibility descriptions are now provided for action mode items. Testing changes: - Removed URI checks from TCM test because PendingIntent hides this info. Bug: 73950205 Test: atest FrameworksCoreTests:TextClassificationManagerTest Test: atest FrameworksCoreTests:TextClassificationTest Test: atest CtsViewTestCases:TextClassificationManagerTest Test: atest CtsViewTestCases:TextClassifierValueObjectsTest Test: atest CtsWidgetTestCases:TextViewTest Test: atest CtsWidgetTestCases:EditTextTest Change-Id: I6706d2c342a8bbb9de0146a48c8b8aac9d9c7d83
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions