diff options
author | Tony Mak <tonymak@google.com> | 2021-03-19 21:29:30 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2021-04-09 12:27:40 +0100 |
commit | 7e8237e64140a2049b390cd6cb9fc22c188b949e (patch) | |
tree | 8d6acecaeb8e729ff23932791a3fe3434c17c21a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a7e6b9481b35f5fa485e8f7afb07684c2c517b22 (diff) |
Notify TextClassifier an app is reading the clipboard
Send TextClassifier an event when an app is reading the clipboard.
The event contains both the source package and the destination package.
Bug: 177898188
Will add an automated test on the text classifier side.
Test: Manual.
1. Copy and paste. Verify that an event is sent to textclassifier by
enable verbose logging.
2. Paste on the same app again, no event is sent.
3. Verify that no events are genereated for apps that read
the clipboard in the background, e.g. keyboard and autofill.
Change-Id: Ide849bf5a0a56271ec8e70d47faabbc47a74332d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions