From 2536befb0c0985ad6105d658736a870740af4fa9 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 (cherry picked from commit 8e2ea4b031ec0eee81283517da414a53f1dbdcd7) Merged-In: Ia82fe6c8378480532262182a453265b3bdc695ff --- core/res/AndroidManifest.xml | 86 ++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 45b6c786670d9..52c1db39ac5d9 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -719,6 +719,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +