diff options
| author | 2022-02-10 15:36:31 +0100 | |
|---|---|---|
| committer | 2022-02-10 22:57:32 +0000 | |
| commit | 2e0cba87dd0c018f374b121326812f740ca78212 (patch) | |
| tree | 617fa8faa9a5d18fd80f1765b93310902ccd9da0 /libs/androidfw/AttributeResolution.cpp | |
| parent | dae8e486bf616b63059f0d8f5a94bb9733a403cc (diff) | |
Explicitly mark receivers as RECEIVER_NOT_EXPORTED
The intent actions registered for here are only marked as protected
broadcasts if the telephony package is present. In its absence,
receivers *must* specify either RECEIVER_EXPORTED or
RECEIVER_NOT_EXPORTED.
Since these Intents are sent from Telephony, which runs with a system
UID less than the first application UID (10000), the system_server can
receive these broadcasts without exporting the receivers.
Bug: 218831939
Test: build & run on ATV device
Test: atest TelephonySubscriptionTrackerTest
Change-Id: I3fed2a1772fccea611f68e9425755b0c9aa9051e
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions