Skip to content
Commit 4039ba86 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Only send uri in share intent if present in clip

Currently we always set the EXTRA_URI value in the share intent,
even if a uri was not present (null) in the original clip. This
causes some receiving apps to throw an error, since they're
expecting content from the extra that isn't actually present.
Update to only set the extra if we're actually sending content.

Bug: 239854368
Fix: 239854368
Test: sent text content to Keep, verified that "Error importing data"
toast appeared (before the fix) and did not appear after

Change-Id: I39813d9eb512209bc0164c1ecc2fd09e823dc53a
parent 6c11adfa
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