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

Skip to content
Commit ecf837ae authored by Azhara Assanova's avatar Azhara Assanova
Browse files

Add EXTRA_STREAM to ComponentCaller#checkContentUriPermission

ComponentCaller#checkContentUriPermission only works for content URIs
passed at launch and specifically URIs passed in Intent#getData and
Intent#getClipData. This change adds Intent#EXTRA_STREAM to that list as
it is one of the common ways for apps to pass URIs.

EXTRA_STREAM only works for URIs that the system can unparcel.

Bug: 293467489
Test: atest CtsAndroidAppTestCases:android.app.cts.ComponentCallerTest
Change-Id: I94437b9eecd16856e0fe91c1b66793e17ecd3e4e
parent b43432bc
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