diff options
| author | 2023-06-21 12:47:26 -0400 | |
|---|---|---|
| committer | 2023-06-28 13:14:50 +0000 | |
| commit | 8c73c06e6ee81e444eb3a665eb0daacfe51124a6 (patch) | |
| tree | dde85398c6670e5ea9c9b50747bde510eb15e611 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 9a35ddf5f83d16b53b08fd6293bd94ef2ab013ba (diff) | |
Put clipboard image uri in clipData for share intent
If the URI is only set in EXTRA_STREAM, grantPermissions is not
able to pick up and add the GRANT_READ_URI permission. Add ClipData
to the share intent sent from the clipboard UI to correctly
propagate the permission through.
Bug: 288272806
Fix: 288272806
Test: manual (copy image -> share -> verify preview appears); atest IntentCreatorTest
Change-Id: Ic52ff10cab62f1cab9fd81d93011b0454885c21e
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions