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
This commit is contained in:
committed by
Vineeta Srivastava
parent
f732e37c19
commit
23ee84ee5e
26
core/res/res/values-mcc510-mnc08/config.xml
Normal file
26
core/res/res/values-mcc510-mnc08/config.xml
Normal file
@@ -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>
|
||||
26
core/res/res/values-mcc510-mnc89/config.xml
Normal file
26
core/res/res/values-mcc510-mnc89/config.xml
Normal file
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user