summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Mark Renouf <mrenouf@google.com> 2023-10-11 14:14:34 -0400
committer Mark Renouf <mrenouf@google.com> 2023-10-11 14:21:29 -0400
commit5c2b6c4e4c3967d281f2762af66571b056ec3dad (patch)
tree187bb9a32b0b8dd7646d39a286da0f83a7d1e7a5 /libs/androidfw/FileStream.cpp
parent08848c04153eaec221759e9b1dc8b5cf72e6d34f (diff)
Remove userId parameter from exported image URL before sharing
Apps don't generally expect an included userId within content URIs. Since the URI is not send across to another here (via URI grants) then it's safe to strip the userId component here. This covers long screenshots which was missed in a previous patch. Bug: 291706486 Test: On pixel, set R.string.config_systemImageEditor to 'com.google.android.apps.photos/.editor.intents.EditActivity' take screenshot, EXTEND IT, share, edit -> verify Photos opens Change-Id: I8610de6edd7fedf7334bcc0e0ff5607f0cc1ef4d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions