summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorduho.ro <duho.ro@lge.com>2013-10-02 14:47:16 +0900
committerVineeta Srivastava <vsrivastava@google.com>2013-10-13 15:23:28 -0700
commit23ee84ee5e0ceece52077178b95d49f4adf6da85 (patch)
tree21f0629518ddaf1ea06c2b6401e85317f738dedc /core/res
parentf732e37c1911831a8d26fd228a00063b9b489a42 (diff)
downloadframeworks_base-23ee84ee5e0ceece52077178b95d49f4adf6da85.zip
frameworks_base-23ee84ee5e0ceece52077178b95d49f4adf6da85.tar.gz
frameworks_base-23ee84ee5e0ceece52077178b95d49f4adf6da85.tar.bz2
telephony: redirect call barring MMI code to other purpose
Some operators redirect call barring MMI codes to other purpose. For instance, *333# should be processed as USSD code with Indonesia Axis SIM and Indonesia Hutchison SIM. This change is adding an array for call barring MMI code to config.xml. So, we can redefine the array for redirecting the call barring MMI codes. Bug: 10101303 Change-Id: Ib21540a90c64e105cd4bc1864238329d594cd056 Conflicts: core/res/res/values/config.xml core/res/res/values/symbols.xml
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/values-mcc510-mnc08/config.xml26
-rw-r--r--core/res/res/values-mcc510-mnc89/config.xml26
-rw-r--r--core/res/res/values/config.xml11
-rw-r--r--core/res/res/values/symbols.xml1
4 files changed, 64 insertions, 0 deletions
diff --git a/core/res/res/values-mcc510-mnc08/config.xml b/core/res/res/values-mcc510-mnc08/config.xml
new file mode 100644
index 0000000..7b27554
--- /dev/null
+++ b/core/res/res/values-mcc510-mnc08/config.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2013, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- call barring MMI code from TS 22.030 Annex B
+ Indonesia AXIS does not support Call Barring service
+ and "333" is used for other purpose -->
+ <string-array translatable="false" name="config_callBarringMMI">
+ </string-array>
+</resources>
diff --git a/core/res/res/values-mcc510-mnc89/config.xml b/core/res/res/values-mcc510-mnc89/config.xml
new file mode 100644
index 0000000..82efecf
--- /dev/null
+++ b/core/res/res/values-mcc510-mnc89/config.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2013, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- call barring MMI code from TS 22.030 Annex B
+ Indonesia Hutchison does not support Call Barring service
+ and "333" is used for other purpose -->
+ <string-array translatable="false" name="config_callBarringMMI">
+ </string-array>
+</resources>
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 56c4d9e..2bcd820 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -1274,4 +1274,15 @@
To do this, add 40483 item to values-mcc404-mnc85/config.xml -->
<string-array translatable="false" name="config_sameNamedOperatorConsideredRoaming">
</string-array>
+ <!-- call barring MMI code from TS 22.030 Annex B -->
+ <string-array translatable="false" name="config_callBarringMMI">
+ <item>33</item>
+ <item>331</item>
+ <item>332</item>
+ <item>35</item>
+ <item>351</item>
+ <item>330</item>
+ <item>333</item>
+ <item>353</item>
+ </string-array>
</resources>
diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml
index 675fe21..ea92d7d 100644
--- a/core/res/res/values/symbols.xml
+++ b/core/res/res/values/symbols.xml
@@ -981,6 +981,7 @@
<java-symbol type="array" name="config_disabledUntilUsedPreinstalledImes" />
<java-symbol type="array" name="config_operatorConsideredNonRoaming" />
<java-symbol type="array" name="config_sameNamedOperatorConsideredRoaming" />
+ <java-symbol type="array" name="config_callBarringMMI" />
<java-symbol type="drawable" name="default_wallpaper" />
<java-symbol type="drawable" name="indicator_input_error" />