Skip to content
Commit fef9b375 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

Merged-In: I782fc21c848831a2a4aeab736cd47ad45781b290
Change-Id: I782fc21c848831a2a4aeab736cd47ad45781b290
(cherry picked from commit 0806568d)
parent 41428857
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