Skip to content
Commit 18240c60 authored by Jeff Chang's avatar Jeff Chang
Browse files

Prevent app check via content provider.

Perform a check if a caller has an access to uri when startActivities.
If uri provider exists but is non exported or permission protected and
throw a SecurityException. App use it to determine if the content
provider is installed or not.

The CL handle the exception without throw the exception out to prevent
that.

Bug: 190396251
Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests
Change-Id: Ieca3e555dcd0c046d92f7d40ef4125d3a535d8a1
parent 44d2d1f8
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