Added device-based geo-fencing debug info support

Added debug information support for DBGF. Follow the steps below
to see the debug info.

1. Dial *#*#CMAS#*#* in the dialer to enable cell broadcast testing
   mode on a debug build.
2. Go to emergency alert settings->emergency alert history
3. On the right-upper corner, choose "show all messages".
4. Long press on the message and select show message details.

Test: Manual
Bug: 144152683
Change-Id: I791a8a482705ff2fd53f77a56c02969f020f888d
This commit is contained in:
Jack Yu
2020-02-03 13:58:28 -08:00
parent 0758f9ace7
commit b670fbd0fe

View File

@@ -586,6 +586,7 @@ public final class SmsCbMessage implements Parcelable {
cv.put(CellBroadcasts.SERIAL_NUMBER, getSerialNumber());
cv.put(CellBroadcasts.SERVICE_CATEGORY, getServiceCategory());
cv.put(CellBroadcasts.LANGUAGE_CODE, getLanguageCode());
cv.put(CellBroadcasts.DATA_CODING_SCHEME, getDataCodingScheme());
cv.put(CellBroadcasts.MESSAGE_BODY, getMessageBody());
cv.put(CellBroadcasts.MESSAGE_FORMAT, getMessageFormat());
cv.put(CellBroadcasts.MESSAGE_PRIORITY, getMessagePriority());