diff options
author | Oli Lan <olilan@google.com> | 2021-03-09 13:45:31 +0000 |
---|---|---|
committer | Oli Lan <olilan@google.com> | 2021-03-09 13:45:31 +0000 |
commit | c312e2fbeaf18180c27743e11abcd5d8223e803e (patch) | |
tree | ff368b528b900ed110520c66c270d5dd1fef0f18 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a644b688927fd5cd27b5e983a21a15c1356bbd4c (diff) |
Set source package when copying from share sheet.
This uses a new system API to attribute the source package when copying
to clipboard from the share sheet.
This is needed because in S users will see a toast message saying
"<app> pasted from <source>" when an app accesses clipboard. Without
this change, any copy originating from the share sheet results in
"<app> pasted from Android System" rather than the app that is the
actual source of the data.
Bug: 180577866
Test: Manual, share via share sheet and paste in another app;
observe "<app> pasted from <source app>"
Change-Id: Id1c0afcf6e775868febc7c8ab5b44dbacccacfa2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions