diff options
author | Jack Yu <jackyu@google.com> | 2017-06-21 17:36:55 -0700 |
---|---|---|
committer | Jack Yu <jackyu@google.com> | 2017-06-23 14:39:00 -0700 |
commit | 93981e605d0770055e5dacc17f5f9b2564acf9b2 (patch) | |
tree | 2fc30f1f2ca6a4477b938585ee0118ba22b68962 /src/com/android/cellbroadcastreceiver/CellBroadcastResources.java | |
parent | f0f8f1fa911ca0ce80eb837b52bc737adeaba0d5 (diff) | |
download | CellBroadcastReceiver-93981e605d0770055e5dacc17f5f9b2564acf9b2.tar.gz |
Refactored area update info support
1. Refactored area update information support so it
is not limited to channel 50 and Brazil.
2. Added channel 60 for India.
Test: Manual
bug: 37746109
Merged-In: Ib4918471d2ce0d18502b82c8bde8beca4e4896be
Change-Id: Ib4918471d2ce0d18502b82c8bde8beca4e4896be
Diffstat (limited to 'src/com/android/cellbroadcastreceiver/CellBroadcastResources.java')
-rw-r--r-- | src/com/android/cellbroadcastreceiver/CellBroadcastResources.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/cellbroadcastreceiver/CellBroadcastResources.java b/src/com/android/cellbroadcastreceiver/CellBroadcastResources.java index 7348135d2..9946ce97d 100644 --- a/src/com/android/cellbroadcastreceiver/CellBroadcastResources.java +++ b/src/com/android/cellbroadcastreceiver/CellBroadcastResources.java @@ -301,7 +301,7 @@ public class CellBroadcastResources { if (cbm.getServiceCategory() >= range.mStartId && cbm.getServiceCategory() <= range.mEndId) { // Apply the closest title to the specified tones. - switch (range.mToneType) { + switch (range.mAlertType) { case CMAS_DEFAULT: return R.string.pws_other_message_identifiers; case EARTHQUAKE: |