diff options
author | Abodunrinwa Toki <toki@google.com> | 2018-04-24 19:19:48 +0100 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2018-04-27 00:16:13 +0100 |
commit | 253827f207be31399a21c390f90ce3ffe4b020c0 (patch) | |
tree | 2ea19b0537a2cd9d1bd461ed6da831d768f13ac4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | abab4cbd2573aa9300e56dea1b9529ca7782573e (diff) |
TC: Fix null PendingIntent being passed to RemoteAction
Problem was RemoteAction(...) takes a non-null PendingIntent but
TextClassification.createPendingIntent(...) returns a nullable PendingIntent.
Bug: 78515224
Test: manual
- Disable Contacts apps in settings
- Select a phone number in a TextView
- Verify that a Phone smart action is displayed
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Change-Id: Icab581d4eef38b4801d1b9ee3af04ffefd1eec6f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions