From 8e2ea4b031ec0eee81283517da414a53f1dbdcd7 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Thu, 3 Feb 2022 10:18:45 +0100 Subject: [PATCH] Make telephony actions unconditionally protected The telephony broadcast actions are listened-to by the system server but the telephony package isn't always present. This represents a security issue where on a device without telephony any app can send these broadcasts. Due to b/161145287 it also currently means that devices without telephony won't boot due to not specifying EXPORTED/NOT_EXPORTED. This patch fixes that for telephony broadcasts. Bug: 161145287 Bug: 217642082 Change-Id: Ia82fe6c8378480532262182a453265b3bdc695ff --- core/res/AndroidManifest.xml | 86 ++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 85504ceae791a..4d88d0ab0832e 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -715,6 +715,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +