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

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
parent a6c8f32a
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