8524c0a36abccf29818d6e18c1080208cfee3ec4 |
|
30-Nov-2012 |
Jake Hamby <jhamby@google.com> |
Enable support for area info cell broadcasts in Brazil. Brazilian operators require support for displaying the most recent area info cell broadcast (message identifier == 50) received. Handle this with a broadcast that the Settings app can receive and display in the status screen. Settings can also request CellBroadcastReceiver to send the most recent area info received. Also, when the SIM country code is Brazil, show the checkbox to enable/disable channel 50 in cell broadcast settings, and enable channel 50 in the radio at startup unless the user disables it. Also update the test application to allow message identifier to be set for GSM and UMTS cell broadcasts (excluding ETWS) for testing the handling of different message identifiers, and change the message identifier of the test cell broadcast PDUs from 50 to 1. To override the message identifier, set the category field in the test app to a non-zero value. Bug: 7445881 Change-Id: Ibca8d33c32c0391d0d4eee444c86dd93878d7d1e
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestBroadcastActivity.java
|
57273ebfa13f96bf5aba9902b70e2b179fec9e4c |
|
09-Oct-2012 |
Jake Hamby <jhamby@google.com> |
Multiple fixes to CMAS app. * Allow screen to turn off after 30 seconds for emergency alerts. * When multiple alerts are received, show them in reverse order. * After showing the first CMAS alert received on device (other than Presidential Alert), show opt-out dialog to allow user to opt-in or out of the various levels of CMAS alert. * Start/stop animating warning icon in activity pause/resume. * When multiple non-emergency alerts are received, show them all (most recent displayed first) when user selects the notification. * For emergency alerts, start the dialog activity directly instead of creating a PendingIntent and full screen notification. * Correctly save/restore the list of alerts in the alert dialog in onSaveInstanceState() when recreated after screen rotation. * Fix test app to increment the message ID and to send the correct alerts when multiple alerts are selected with 5 second delay. Bug: 6993660 Bug: 7041847 Bug: 7045506 Change-Id: Ic3ec08f0ebd693244891a4bf3a29479b832c2a3e
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestBroadcastActivity.java
|
00b87064abfb9d254fbbf72110643d2e626365e6 |
|
14-Feb-2012 |
Jake Hamby <jhamby@google.com> |
Add CMAS over CDMA support to CellBroadcastReceiver app. Add support for CMAS warning notifications over CDMA to CellBroadcastReceiver app. The framework code now sends cell broadcasts in a radio-technology independent form by passing the new Parcelable android.telephony.SmsCbMessage class as the "message" intent of the SMS_CB_RECEIVED_ACTION or SMS_EMERGENCY_CB_RECEIVED_ACTION, instead of as a GSM/UMTS "pdu" byte array. The database version has also been upgraded to encompass metadata for ETWS and CMAS emergency broadcasts, as well as CDMA format broadcasts. Bug: 5856308 Change-Id: I1b10d35d8aa6f0134260116980e4c326f86d2fe7
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestBroadcastActivity.java
|
50a624a47ce645a7992e346e40a4e7ec5e0df9b7 |
|
18-May-2011 |
Jake Hamby <jhamby@google.com> |
Initial checkin of Cell Broadcast display application. Simple Cell Broadcast application. Supports ETWS and CMAS emergency messages, and can be extended to support other types of PWS (Public Warning System) emergency warnings. User preferences for configuration of each supported national system (ETWS, CMAS, and channel 50 broadcasts for Brazil) are displayed/hidden based on the values in res/values/config.xml. For emergency alerts, a flashing warning icon and special alert sound is played. If there is a text-to-speech engine installed for the language of the broadcast, then the contents of the broadcast message will be spoken after the alert sound is played. The user can disable the text-to-speech feature in settings, as well as adjusting the length of the alert sound and enabling/disabling delivery of several emergency broadcast channels. The CellBroadcastReceiverTests apk includes a launcher activity with buttons for sending each type of test message. This APK must be signed with the system certificate in order to acquire the BROADCAST_SMS permission required to send test broadcasts to the app. Change-Id: If9b61e02c246de5783b3e39cd100ea707ea80084
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/SendTestBroadcastActivity.java
|