summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wang <johnwang@google.com>2010-03-18 17:51:33 -0700
committerJohn Wang <johnwang@google.com>2010-03-18 17:51:33 -0700
commitd29f32426321107e0b9134132f7e011ddfcef254 (patch)
tree00f1c0b597c3b378f54c9c08c1c8f10c3e1127bf
parent1737d56f888fec11fc7713598a9adc4a509c02cc (diff)
downloadcommon-d29f32426321107e0b9134132f7e011ddfcef254.tar.gz
Add ecclist config file.
The ecclist is configured for following countries, UK(MCC 234, 235), CA(MCC 302), HK(MCC 454), AU(MCC 505), SG(MCC 525), and US(MCC 310, 311, 312, 313, 314, 315, 316). Change-Id: Ifb3b27f2f059092e96e348cb1e1cf30c7aab009d
-rw-r--r--README.ecclist_for_mcc.conf30
-rw-r--r--common.mk3
-rw-r--r--ecclist_for_mcc.conf14
3 files changed, 47 insertions, 0 deletions
diff --git a/README.ecclist_for_mcc.conf b/README.ecclist_for_mcc.conf
new file mode 100644
index 0000000..547d3c2
--- /dev/null
+++ b/README.ecclist_for_mcc.conf
@@ -0,0 +1,30 @@
+The following copyright and license information applies to ecclist_for_mcc.conf
+
+# Copyright (C) 2010 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.
+
+ecclist_for_mcc.conf contains emergency number of countries, which will be used to
+set the property of emergency numbers.
+
+The format of ecclist_for_mcc.conf is
+
+[MCC of a country] white space [Emergency number for that country, separated by comma]
+
+Note:
+1. Use white space instead of TAB between MCC and emergency number list.
+
+2. Emergency number 112 and 911 are included as default emergency numbers. But it is
+recommended to explicitly include those two numbers in the list.
+
+3. It is recommended to sort the entries by MCC.
diff --git a/common.mk b/common.mk
index b48049c..97cc10c 100644
--- a/common.mk
+++ b/common.mk
@@ -20,6 +20,9 @@
# Sets an HTC-specific device-agnostic overlay
DEVICE_PACKAGE_OVERLAYS := device/htc/common/overlay
+# Sets copy files for all HTC-specific device
+PRODUCT_COPY_FILES += device/htc/common/ecclist_for_mcc.conf:system/etc/ecclist_for_mcc.conf
+
# Get additional product configuration from the non-open-source
# counterpart to this file, if it exists
$(call inherit-product-if-exists, vendor/htc/common/common-vendor.mk)
diff --git a/ecclist_for_mcc.conf b/ecclist_for_mcc.conf
new file mode 100644
index 0000000..6e95003
--- /dev/null
+++ b/ecclist_for_mcc.conf
@@ -0,0 +1,14 @@
+MCC ECClist
+234 999,112,911
+235 999,112,911
+302 112,911
+310 112,911
+311 112,911
+312 112,911
+313 112,911
+314 112,911
+315 112,911
+316 112,911
+454 999,112,911
+505 000,112,911
+525 999,995,112,911