diff options
| author | 2018-04-20 19:52:21 +0100 | |
|---|---|---|
| committer | 2018-05-10 19:42:55 +0100 | |
| commit | ba196c5a3d8a8f04ffb22fd29435e545ee435fa0 (patch) | |
| tree | fbabf069b38817b5d449ca5a27843ffba6e6e178 /libs/hwui/Program.cpp | |
| parent | 1b5e2d8b3e9694a809433ecc1b40f266eea9349d (diff) | |
Do not parcel legacy TextClassification fields
If we depend on legacyIntent, then TextClassifierService implementations
will have to always popuplate a deprecated field.
To avoid breaking legacy clients, the returned legacyOnClickListener should
represent the first pendingIntent (i.e. primary action) that was parcelled.
Bug: 78340399
Test: atest CtsViewTestCases:TextClassificationManagerTest
Test: atest FrameworksCoreTests:TextClassificationTest
Test: manual check with a TCS that only sets non-deprecated fields vs a
legacy TC client
Change-Id: I41d27a65f1ede6369dd2a66d92b2210edb0d11e2
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions