History log of /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2946394f0cda813f1760890b994f33803894b7a 29-Oct-2014 xin He <xinhe@google.com> Revert "Register both SMS-B and CB channels to support LTE"

This reverts commit cba619c3e8f416683e7b8dc44af9a0e9145b2ad6.

The original change try to turn on cellbroadcast listening on both GSM and CDMA
channels at that same time.Thus some unexpected cellbroadcast message come in.
We plan to revert this change.

Bug:18128785
Change-Id: I3f6ef385659ddf6446f7986746cec61013de1362
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
cba619c3e8f416683e7b8dc44af9a0e9145b2ad6 08-Oct-2014 Sreevidya <a21190@motorola.com> Register both SMS-B and CB channels to support LTE

Bug:17892427
Change-Id: Ibf66b230fe9743a589b3adea22f9bde1fba68c99
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
2ed83017c08758e9f215a3dd36242c17a7c0bc6c 12-Sep-2014 aniket <aniket@motorola.com> PLMN10 PWS test fails for Taiwan region certification

Solution: Update 4383 messageId name as defined in framework
SmsCbConstants.java.

Bug: 17886894
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
031abe308236681053d57b1816158f73e1d474be 13-Nov-2013 Jake Hamby <jhamby@google.com> Enable Cell Broadcast channels 919-928 for Israel.

At boot time, enable CB channels 919-928 for networks and
SIM cards in Israel (government mandated requirement).

Bug: 11411063
Change-Id: Ied78f735d6ecf948a03a012e5dc5ffebfffa8103
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
e348e51fedf48b9d07f5f737c0ae2ca10acdd356 29-Apr-2013 Anju Mathapati <anjucm@codeaurora.org> 4373 & 4374 part of Severe Alerts

As per specification change 23.041 V9.6.0,
4373 & 4374 have been moved from Extreme
Alerts to Severe Alerts

Bug: 8847901
Change-Id: I7d0b45a9285f89e57671ecc9e18cb6308e4cca34
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
3880548e290746d40f0a669a2d35064bfc380095 07-Aug-2012 Rika Brooks <rbrooks@codeaurora.org> CB: Enable or Disable broadcast messages

Send set config broadcast messages to modem when user changes
preferences from CellBroadcast App. This is necessary to reduce
power consumpution.

Bug: 8285107
Change-Id: I6953aa8e07769437ccc3661f46e86faca602a4fb
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
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/CellBroadcastConfigService.java
9ac73b3569a334ded9a794396d044b4db5f7d1ae 10-Jan-2013 Jake Hamby <jhamby@google.com> am 9e00abc6: Merge "CB: Turn on CMAS Presidential"

* commit '9e00abc65a29e51683e5cc55e848c6a05ac109a3':
CB: Turn on CMAS Presidential
9e00abc65a29e51683e5cc55e848c6a05ac109a3 10-Jan-2013 Jake Hamby <jhamby@google.com> Merge "CB: Turn on CMAS Presidential"
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/CellBroadcastConfigService.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/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
b691740cc6c5e05f47b2eb8f0e766e6dfac9bfe7 05-Jun-2012 Rika Brooks <rbrooks@codeaurora.org> CB: Turn on CMAS Presidential

Per 3GPP TS 22.268 Section 6.2, CMAS Presidential must be turned on.

Change-Id: I37e2d583e132172658ffb2ed00db2dfd695bbc29
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.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/CellBroadcastConfigService.java
47ffe15b440cb98548c0f2c58cbd1e64dd0435db 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/CellBroadcastConfigService.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/CellBroadcastConfigService.java
f88de2b37383f138b3c7d876bdc3b6b6fae7b728 27-Oct-2011 Jake Hamby <jhamby@google.com> Show alert dialog for operator-defined Cell Broadcast messages.

Enable display of received SMS broadcast messages as emergency alerts
(warning sound and alert dialog notification) if they are listed in the
range defined in "ro.cellbroadcast.emergencyids".

Bug: 5516275
Change-Id: Ic26aa28fa2b2201f32bff780db40d76883cd0860
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastConfigService.java
59610ad5074acb5305c353a53c01676eb8258887 27-Oct-2011 Jake Hamby <jhamby@google.com> Enable operator to customize cell broadcast emergency message IDs.

Add support to CellBroadcastReceiver app to load the list of message IDs
to enable for emergency cell broadcast from system property
"ro.cellbroadcast.emergencyids", if present. Message IDs are defined as
decimal or hex integer ranges, e.g. a value of
"0x1100-0x1102,0xA001-0xA3FF" will enable message ID ranges
0x1100-0x1102 and 0xA001-0xA3FF at system boot.

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