Skip to content
Commit 8c73c06e authored by Miranda Kephart's avatar Miranda Kephart
Browse files

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
parent 9a35ddf5
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