summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2016-07-18 14:10:18 -0700
committergitbuildkicker <android-build@google.com>2016-08-01 19:13:38 -0700
commitd1d248d10cf03498efb7041f1a8c9c467482a19d (patch)
tree22e9a5d7790a57d7f341f1d36ec4ce8269c7183b
parent505b9350f6bbee90c68d7d89bf13075283907e66 (diff)
downloadTelephony-nougat-release.tar.gz
Currently, any app can broadcast the intent to update the TTY mode. This change updates the intents to protected broadcasts so that only system can broadcast them. Otherwise, a SecurityException will be thown. Bug: 29832693 Change-Id: Ic9a91be3d8d15043e3165b766348cff301dd5da1
-rw-r--r--AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 61257f8f9..b5e3e002b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -28,6 +28,8 @@
<original-package android:name="com.android.phone" />
+ <protected-broadcast android:name="android.telecom.action.TTY_PREFERRED_MODE_CHANGED" />
+ <protected-broadcast android:name="android.telecom.action.CURRENT_TTY_MODE_CHANGED" />
<protected-broadcast android:name="android.intent.action.SERVICE_STATE" />
<protected-broadcast android:name="android.intent.action.RADIO_TECHNOLOGY" />
<protected-broadcast android:name="android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED" />