summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jack Yu <jackyu@google.com> 2017-01-05 15:19:31 -0800
committer Jack Yu <jackyu@google.com> 2017-01-06 22:03:41 -0800
commit5d14d99e434af815ed7fff224d178d3d72c164eb (patch)
tree0aaeb9675bae89dfbc2bae7fef8411985b61d756
parent43c98c74fe4b651810304e0862059234759437c6 (diff)
Moved implicit intents into explicit intents
Moved two intents SMS_EMERGENCY_CB_RECEIVED_ACTION and SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION are now sent to the default cell broadcast receiver only. The default cell broadcast receiver can be changed through the resource overlay. Otherwise it is default to com.android.cellbroadcastreceiver bug: 33783447 Test: manual Change-Id: I64db3b05400513bacf278ff9f93236495860803e Merged-In: I64db3b05400513bacf278ff9f93236495860803e
-rw-r--r--core/res/res/values/config.xml3
-rw-r--r--core/res/res/values/symbols.xml2
2 files changed, 5 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 4cf122639a22..c896af195dcb 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -2676,4 +2676,7 @@
<!-- An array of packages for which notifications cannot be blocked. -->
<string-array translatable="false" name="config_nonBlockableNotificationPackages" />
+
+ <!-- Component name of the default cell broadcast receiver -->
+ <string name="config_defaultCellBroadcastReceiverComponent" translatable="false">com.android.cellbroadcastreceiver/.PrivilegedCellBroadcastReceiver</string>
</resources>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index fe88cd1ff423..dadbce8fb6fe 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -2739,4 +2739,6 @@
<!-- Network Recommendation -->
<java-symbol type="array" name="config_networkRecommendationPackageNames" />
+
+ <java-symbol type="string" name="config_defaultCellBroadcastReceiverComponent" />
</resources>