Skip to content
Commit 7e8237e6 authored by Tony Mak's avatar Tony Mak
Browse files

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
parent a7e6b948
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment