Skip to content
Commit 0806568d authored by Winson's avatar Winson Committed by Winson Chiu
Browse files

Unexport all PackageInstaller receivers

All of PackageInstaller's declared receivers receive system broadcasts,
so they do not need to be exported. Leaving them exported opens up
vulnerabilities for apps to launch them and execute functionality that
PackageInstaller includes.

Bug: 191283525

Test: manual, verify receivers still work
Test: atest com.android.packageinstaller.test.ExportedComponentTest

Change-Id: I782fc21c848831a2a4aeab736cd47ad45781b290
parent 659cfbeb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment