Revert Localized Carrier SPN Changes.
This patch basically reverts the changes done to spn-conf.xml here:
http://review.cyanogenmod.com/#/c/10038/ , which was then ported to
ics and jellybean branches.
The localized SPN function requires a framework change (Found here:
http://review.cyanogenmod.com/#/c/10037/), which is not
present on ics nor jellybean branches, effectively rendering the
settings useless.
Until the framework changes are present, I think it'd be best to
change this back so that users of these Chinese carriers will at
least have their carrier names displayed correctly.
Patch Set 3: Fix description links.
Change-Id: I12bcf308dd797ea7638327c33f9252a20894ad05
diff --git a/prebuilt/common/etc/spn-conf.xml b/prebuilt/common/etc/spn-conf.xml
index bc7e5d8..82e16a0 100644
--- a/prebuilt/common/etc/spn-conf.xml
+++ b/prebuilt/common/etc/spn-conf.xml
@@ -1,60 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
- <spnOverrides>
- <spnOverride numeric="MccMnc value" spn="defualt spn" />
- <spnOverride numeric="MccMnc value" spn="defualt spn, can be omitted">
- <spn locale="java.util.Locale string">localized spn</spn>
- <spn locale="java.util.Locale string">localized spn</spn>
- ...
- </spnOverride>
- ...
- </spnOverrides>
--->
+
<spnOverrides>
<!-- Japan -->
<spnOverride numeric="44020" spn="SoftBank" />
<!-- Hong Kong -->
<spnOverride numeric="45406" spn="SmarTone" />
- <spnOverride numeric="45412">
- <spn locale="zh">中國移動香港</spn>
- <spn locale="zh_CN">中国移动香港</spn>
- </spnOverride>
+ <spnOverride numeric="45412" spn="中國移動香港" />
<!-- China -->
- <spnOverride numeric="46000">
- <spn locale="zh">中国移动</spn>
- </spnOverride>
- <spnOverride numeric="46001">
- <spn locale="zh">中国联通</spn>
- </spnOverride>
- <spnOverride numeric="46002">
- <spn locale="zh">中国移动</spn>
- </spnOverride>
- <spnOverride numeric="46003">
- <spn locale="zh">中国电信</spn>
- </spnOverride>
- <spnOverride numeric="46007">
- <spn locale="zh">中国移动</spn>
- </spnOverride>
+ <spnOverride numeric="46000" spn="中国移动" />
+ <spnOverride numeric="46001" spn="中国联通" />
+ <spnOverride numeric="46002" spn="中国移动" />
+ <spnOverride numeric="46003" spn="中国电信" />
+ <spnOverride numeric="46007" spn="中国移动" />
<!-- Taiwan -->
- <spnOverride numeric="46601">
- <spn locale="zh">遠傳電信</spn>
- </spnOverride>
- <spnOverride numeric="46688">
- <spn locale="zh">和信電訊</spn>
- </spnOverride>
- <spnOverride numeric="46689">
- <spn locale="zh">威寶電信</spn>
- </spnOverride>
- <spnOverride numeric="46692">
- <spn locale="zh">中華電信</spn>
- </spnOverride>
- <spnOverride numeric="46693">
- <spn locale="zh">東信電訊</spn>
- </spnOverride>
- <spnOverride numeric="46697">
- <spn locale="zh">台灣大哥大</spn>
- </spnOverride>
- <spnOverride numeric="46699">
- <spn locale="zh">泛亞電信</spn>
- </spnOverride>
+ <spnOverride numeric="46601" spn="遠傳電信" />
+ <spnOverride numeric="46688" spn="和信電訊" />
+ <spnOverride numeric="46689" spn="威寶電信" />
+ <spnOverride numeric="46692" spn="中華電信" />
+ <spnOverride numeric="46693" spn="東信電訊" />
+ <spnOverride numeric="46697" spn="台灣大哥大" />
+ <spnOverride numeric="46699" spn="泛亞電信" />
</spnOverrides>