From c3296ffdfc70c6778b6ae760b812b4e53e335f97 Mon Sep 17 00:00:00 2001 From: Jake Hamby Date: Wed, 18 Apr 2012 12:32:18 -0700 Subject: Add ContentProvider for apps to read received SMS cell broadcasts. The CellBroadcastReceiver app will allow apps with the new permission "android.permission.READ_CELL_BROADCASTS" to read previously received cell broadcast messages from a new ContentProvider database at URI "content://cellbroadcasts". This will enable third parties to provide additional information to users in the event of emergencies without delaying or interfering with the initial system alert dialog to warn the user when the alert is received. Includes a new android.telephony.CellBroadcastMessage class which can be instantiated from the Cursor retrieved from the ContentProvider. This was previously a part of the CellBroadcastReceiver app, but can now be used by third party apps with read permission on the ContentProvider. Change-Id: I2c31f62b63c050c7946de2d81c28a5f4dc6f00b0 --- core/res/AndroidManifest.xml | 17 +++++++++++++++++ core/res/res/values/strings.xml | 9 +++++++++ 2 files changed, 26 insertions(+) (limited to 'core/res') diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index f5c0f8f..3c2121d 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -202,6 +202,23 @@ android:label="@string/permlab_receiveEmergencyBroadcast" android:description="@string/permdesc_receiveEmergencyBroadcast" /> + + + + + read cell broadcast messages + + Allows the app to read + cell broadcast messages received by your device. Cell broadcast alerts + are delivered in some locations to warn you of emergency situations. + Malicious apps may interfere with the performance or operation of your + device when an emergency cell broadcast is received. + send SMS messages -- cgit v1.1