summaryrefslogtreecommitdiffstats
path: root/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* CellBroadcastReceiver: Show timestamp / appropriate title in the LatAm regionDiogo Ferreira2016-10-031-0/+7
| | | | | | | | | | | | In this region, broadcasts on the 4370 are emergency alerts. 4370 is also the channel used for presidential alerts on the US, so piggy back on that code and change the string for LatAm. Additionally, the timestamp is mandatory in some government requirements, this patch adds that as well. Change-Id: Ifc5ef92bc97551d69102a915df447813cfa8395a Ticket: FEIJAO-1615
* Themes: Expose hardcoded styles and colors for themesBryan Owens2015-12-292-4/+4
| | | | | Change-Id: I7c83e6c5c728708f8c3bd445529342f8ddbe0f0c Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Use correct theme for the cell broadcast list.Dan Sandler2014-10-151-1/+1
| | | | | Bug: 17972639 Change-Id: If9b4d917958b412693c1dd8fd0d7e66dcd7e957d
* Fix text colors in the CellBroadcast list.Daniel Sandler2014-08-292-26/+26
| | | | | | | | | Also make sure the notification form is visible on lockscreens, and other L improvements. Bug: 17311748 Bug: 17333464 Change-Id: I23231a767d298f7a10d6c484d0beca075799382e
* Settings user restriction changes: cell broadcastsJulia Reynolds2014-05-191-0/+39
| | | | | Bug: 14081992 Change-Id: Ibfdecf85c981174c6992b8a14341f52d31c9f40f
* Fix overlapping text in CMAS list items.Jake Hamby2013-10-041-1/+3
| | | | | | | | | | | If the font is set to a large size, CMAS alerts with long titles such as "Child abduction (Amber alert)" will draw on top of the date. Fix the layout to ensure the title is left-justified and ellipsized to fit on one line if necessary. Tested with all four standard font sizes in both portrait and landscape mode. Bug: 10858267 Change-Id: I871a924d516ae29da180280e7579ff89cffdd22a
* Hide RTL related APIsFabrice Di Meglio2012-05-031-1/+0
| | | | | | - fix bug #6441155 API review: @hide RTL layout APIs Change-Id: Id9dd330f71c9077bbf107120ddb71843cb19d8dd
* Add CMAS over CDMA support to CellBroadcastReceiver app.Jake Hamby2012-03-133-9/+167
| | | | | | | | | | | | | | | 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
* Initial checkin of Cell Broadcast display application.Jake Hamby2011-06-063-0/+115
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