Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5c2b6c4e authored by Mark Renouf's avatar Mark Renouf
Browse files

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
parent 08848c04
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