diff options
| author | 2023-08-02 16:08:19 -0400 | |
|---|---|---|
| committer | 2023-08-07 11:46:33 -0400 | |
| commit | cf605f0e8bedcdd3cb2e4063c2867e7afe7a1677 (patch) | |
| tree | 2c1fc6bc1d800c2e638cbbf083db154415d5e921 /libs/androidfw/ObbFile.cpp | |
| parent | a6c8f32a29ab53b69d7ce2f736d0a1c696cd55e8 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions