History log of /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e017261eb3887451451ceb00e2491016c44e2755 05-Feb-2013 Jake Hamby <jhamby@google.com> am 6d492b6d: Merge "CB: Add CDMA CMAS"

# By Rika Brooks
# Via Gerrit Code Review (1) and Rika Brooks (1)
* commit '6d492b6d2d628dd2c97b3ca5dd9e0a031905cb15':
CB: Add CDMA CMAS
a028d57ae657c29873abd1ba6969f6e4ce835eba 25-Jul-2012 Rika Brooks <rbrooks@codeaurora.org> CB: Add CDMA CMAS

Add CDMA CMAS enabling/disabling

Change-Id: I5d70175862547475f49e08328ab3dcc5560e9096
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
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/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
3500edaa3e297762f096fb84af9c83a2b12ff7de 30-Nov-2012 Jake Hamby <jhamby@google.com> Delay cell broadcast config until modem is ready to handle.

Delay setting cell broadcast configuration until the service state
changes to STATE_IN_SERVICE or STATE_EMERGENCY_ONLY. Some radios
will return a GENERIC_FAILURE if RIL_REQUEST_GSM_SET_BROADCAST_CONFIG
is sent before the radio is ready.

Bug: 7586093
Change-Id: I90d53365ce432d0382f042936dd1e2f4281d276c
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
e707fd18bd5170f8f8f0320921899f1683747c6b 25-Jul-2012 Ed Heyl <ed@google.com> Revert "am d76f8abb: am 21f2b9ac: Implement CMAS service category program results."
This change is part 2 of 2; and part 1 was skipped by the automerger...
this change can be added back when part 1 is merged in.

This reverts commit 33c5518c90f190999d17222d4c2661b70d890c02, reversing
changes made to 32c13f5f0f8dd84fac1d4989f082812c2bea9120.
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
21f2b9ac08ca93cee099292ba597b9a45e846030 25-Jul-2012 Jake Hamby <jhamby@google.com> Implement CMAS service category program results.

Correctly handle CDMA Service Category Program Data requests,
and send the SCPT response to the message center. Parcel SCPD
operations as an ArrayList instead of an array (current version
will throw ClassCastException when the array is cast).

Bug: 6853691
Change-Id: If629a0c9568a19b6c9d5160c704d3b41ef94bd6c
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java
da5c415f6d0999131e93384b5fb90422ada8e4da 18-Apr-2012 Jake Hamby <jhamby@google.com> Add ContentProvider for received cell broadcasts.

Enable apps with android.permission.READ_CELL_BROADCASTS to access the
database of received cell broadcasts via a ContentProvider at URI
"content://cellbroadcasts/". The ContentProvider is read-only, but
provides internal methods for the app to insert and delete broadcasts,
and to mark broadcasts as read. These methods are not exposed to other
applications.

Other changes:

* Added static log() methods for simpler debug logging.

* Moved CellBroadcastDatabase.DatabaseHelper to new top-level
CellBroadcastDatabaseHelper class after refactoring the original
CellBroadcastDatabase class out of existence.

* Removed the "Delete" dialog title per Android UI guidelines,
and changed from a custom view to a built-in dialog type.

Bug: 5752924
Change-Id: I1ad6a4d5248f851c53a638c2cb7e85a57ba6b811
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.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/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.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/src/com/android/cellbroadcastreceiver/CellBroadcastReceiver.java