diff options
author | Abodunrinwa Toki <toki@google.com> | 2020-04-05 04:53:35 +0100 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2020-04-28 15:02:26 +0100 |
commit | 8f2bf3cb5394c7d188ce5ad5f626b2cd93314581 (patch) | |
tree | 29e5cac95ac303e62481511a477a4d19940e966f /docs/html/sdk/api_diff/15/changes | |
parent | 8862ee3891817b2fb0ddb14581f062d34e42d3c2 (diff) |
Rewrite Icons from the TCS.
Because of the new app visibility constraints introduced in Android R,
apps may be unable to load icons from the TextClassifierService (TCS).
This is because the TCS returns "Icons" based on resources to the apps.
These resources were globally available until this new restriction.
In this CL, the TCMS rewrites responses with Icon(typ=RESOURCE) coming
from a TCS to responses with Icon(typ=URI). The new icons are backed
by a content provider that may be used to retrieve the necessary icons.
Bug: 151847511
Test: atest tests/tests/textclassifier/src/android/view/textclassifier/cts
Test: atest core/tests/coretests/src/android/view/textclassifier
Test: Select a phone number text, check that the "Call" icon shows
Change-Id: Ib63e54462508029cdf0e56c2c6a82ff4e81b02a8
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions