Strip embedded userId from shared URIs
When screenshot saving images, the userId is explicitly attached to
the resulting URI to support cross-profile actions. This is only
necessary for internal operations and does not need to be present
in the resulting share intent which is already scoped to the target
user.
Bug: 291706486
Test: On pixel, set R.string.config_systemImageEditor to
'com.google.android.apps.photos/.editor.intents.EditActivity'
take screenshot, share, edit -> verify Photos opens
Change-Id: If417620c1aa4a4fc3a4d291a1384e7aff137af5c
Loading
Please register or sign in to comment