summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2022-08-05 10:42:10 -0400
committer Miranda Kephart <mkephart@google.com> 2022-08-05 10:47:25 -0400
commit4039ba86ff3f9eb52f330608c3ffcb972d439c57 (patch)
tree398aac7b456116b53865f2b3232918a1107f8564 /libs/androidfw/StringPool.cpp
parent6c11adfa42f13c768ceafdb9d56c87580d670ebe (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions