From c6bf961305d6a1fb9bcf6689050932b9d6465e42 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Wed, 21 Jun 2017 17:42:37 -0700 Subject: [PATCH] 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 Change-Id: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff --- core/res/res/values-mcc404/config.xml | 2 ++ core/res/res/values-mcc724/config.xml | 23 +++++++++++++++++++ core/res/res/values/config.xml | 3 +++ core/res/res/values/symbols.xml | 1 + .../telephony/gsm/SmsCbConstants.java | 4 ---- 5 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 core/res/res/values-mcc724/config.xml diff --git a/core/res/res/values-mcc404/config.xml b/core/res/res/values-mcc404/config.xml index 6b77e9c1663a5..4cadef7893d3d 100644 --- a/core/res/res/values-mcc404/config.xml +++ b/core/res/res/values-mcc404/config.xml @@ -20,4 +20,6 @@ true + + true diff --git a/core/res/res/values-mcc724/config.xml b/core/res/res/values-mcc724/config.xml new file mode 100644 index 0000000000000..98f70d5441d20 --- /dev/null +++ b/core/res/res/values-mcc724/config.xml @@ -0,0 +1,23 @@ + + + + + + true + diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index ffd88c31b4228..3033f8c6543af 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -2972,4 +2972,7 @@ true + + + false diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 6cbf11f0f8302..2dd72e021b8f7 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -3057,4 +3057,5 @@ + diff --git a/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java b/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java index f28d1263d13a3..0fabc2ff6b86e 100644 --- a/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java +++ b/telephony/java/com/android/internal/telephony/gsm/SmsCbConstants.java @@ -30,10 +30,6 @@ public class SmsCbConstants { /** Private constructor for utility class. */ private SmsCbConstants() { } - /** Channel 50 required by Brazil. ID 0~999 is allocated by GSMA */ - public static final int MESSAGE_ID_GSMA_ALLOCATED_CHANNEL_50 - = 0x0032; - /** Start of PWS Message Identifier range (includes ETWS and CMAS). */ public static final int MESSAGE_ID_PWS_FIRST_IDENTIFIER = 0x1100; // 4352