History log of /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48437d716cfb08195e56ba6e89fb6b8f94c0df7d 02-Sep-2015 Jack Yu <jackyu@google.com> Fixed that severe CMAS messages were not disabled.

This fixed the bad user experience that when the user disables
both extreme and severe emergency messages through the UI, the
user is still able to get the severe emergency messages.

bug: 23644848
Change-Id: I70c26066dd500be0f57516132e68754cbfbb7847
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
dd9555e7e5eb29852576197de1c61fa99007ba34 22-Jul-2015 Jack Yu <jackyu@google.com> Allow carriers to force disable ETWS/CMAS test messages.

This feature can be enabled in carrier config XML. When enabled, the user will not see
ETWS/CMAS enable/disable option in emergency broadcast preference menu.

bug: 22396039
Change-Id: I67b09e283a85f2af682fa7f2d1cd81d7d7db5cf2
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
c4ef6116a83db3b93f93d32be29a36bf54622d9d 14-Jul-2015 Sanket Padawe <sanketpadawe@google.com> Make CellBroadCast MSIM aware

Bug: 22360525
Change-Id: Ie5306b47628e4f9a547a4f8fde7fa842a77e65a7
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
0220a7cbf9bf18af0b4453647b436c7c47d7b6d6 06-Nov-2014 Sreevidya <a21190@motorola.com> Make Severe alerts dependent on Extreme alerts

As per ATIS-TIA-J-STD-100, Joint CMAS MDB document,
Severe alerts shall be dependent on Extreme.

Unregister Severe alerts along with Extreme alerts,
if Extreme alerts are unchecked.

Bug:18223949
Change-Id: I21e7e062d519ea47be22600481c4d7de2d6185f0
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
b0b97be3c5c11b25b620660525aeb6919c3bccac 12-May-2014 Julia Reynolds <juliacr@google.com> Settings user restriction changes: cell broadcasts

Bug: 14081992
Change-Id: Ibfdecf85c981174c6992b8a14341f52d31c9f40f
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
66e6f6f52f19c8eac696dd8fbb0cee2e6044da61 04-Mar-2013 Jake Hamby <jhamby@google.com> Merge "Add CMAS reminder alert feature." into jb-mr2-dev
4589e8a8dde484424a96d4644772d793043ad029 27-Feb-2013 Jake Hamby <jhamby@google.com> Add CMAS reminder alert feature.

Carrier requirement: add "alert reminder" feature for CMAS alerts.
If the alert is not dismissed, a reminder sound is played based on
user preference. The user can select one of the following behaviors:
- "Once" = one alert reminder after 2 minutes
- "Every 2 minutes"
- "Every 15 minutes"
- "Off" = no alert reminders

The notification sound is the user's preferred notification sound, or
the user's preferred alarm sound as a fallback.

Bug: 7045215
Change-Id: Id7858a11dd9b2227aea8ea4a826ed0e78c1ffcb6
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.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/CellBroadcastSettings.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/CellBroadcastSettings.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/CellBroadcastSettings.java
c40199db68df62824ca67eaaf2bb967d62cd7850 27-Sep-2012 Jeff Sharkey <jsharkey@android.com> Clean up Global settings stragglers.

Bug: 7242121
Change-Id: I76fe153787b5d925a1699b0923e4964ec4cb26af
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
bf70b6f871ac58439b5e98a305478a773e872b68 25-Aug-2012 Jake Hamby <jhamby@google.com> Fix behavior of CMAS audio alert and vibration.

Fix bugs in CMAS audio alert and vibration behavior:
* Use audio duration of 10.5 seconds for all CMAS alerts.
* Fix vibration cadence to match CMAS tone cadence.
* Mute audio when volume or camera keys are pressed.
* Don't play audio or vibration in silent mode.
* Don't play audio in vibrate mode.
* Use notification volume rather than alarm volume.
* Catch IllegalStateExceptions when stopping audio/TTS (sometimes
throws "Unable to retrieve AudioTrack pointer for stop()").
* Add Vibrate setting to CMAS settings for disabling vibration.

Bug: 7045214
Change-Id: Id98ea4f42f326b9a253407b9bbe67ca6acc6a20c
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/CellBroadcastSettings.java
2356d5f753ed830c35394b16c6dc6529ba7ef31a 29-Jun-2012 Junichi Monma <monma@google.com> Enable ETWS setting via Setting and MMS apps.

Move general alert settings from developer preference category
to emergency preference category, and enable for ETWS builds and
when developer options is enabled.

CMAS settings are moved to the emergency alert category, and
removed individually for non-CMAS builds. The general alert
settings are removed individually for CMAS builds, unless
developer options are enabled. This satisfies requirements
for ETWS carriers (who do want those options available)
and CMAS carriers (who don't want those options and don't
want a separate preference category for CMAS).

Also disabled ETWS settings in the default config.xml
(used for CMAS). ETWS is enabled in the DoCoMo overlay.

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