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
Loading
Please register or sign in to comment