summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-05-21 23:24:06 -0700
committerDan Pasanen <dan.pasanen@gmail.com>2015-10-29 11:16:55 -0500
commitc51b725f3d3b598857aab6204f97a2f049c7017a (patch)
tree631696f832f0a8b883edd14f27314cc81dac8105 /res
parent2148bdf7fd4073c865a0625886bbb67971d2ec8e (diff)
downloadandroid_packages_providers_TelephonyProvider-c51b725f3d3b598857aab6204f97a2f049c7017a.tar.gz
android_packages_providers_TelephonyProvider-c51b725f3d3b598857aab6204f97a2f049c7017a.tar.bz2
android_packages_providers_TelephonyProvider-c51b725f3d3b598857aab6204f97a2f049c7017a.zip
telephony: Add support for choosing a default APN
* Sometimes, the standard method of choosing the "first" available APN is not what we want. Consider the case where a certain provider has both a "normal" APN and an LTE APN. The LTE APN is what we want, but it's not chosen. * Add a new overlayable value "config_preferred_apn" to handle this. A device can override this. The format is "apn,mcc,mnc". Conflicts: res/values/config.xml src/com/android/providers/telephony/TelephonyProvider.java Change-Id: Ia6ca4159491bee15b3f18ad7ad524b8b0ffce2f2
Diffstat (limited to 'res')
-rw-r--r--res/values/config.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 6148e5e..311a104 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -7,4 +7,8 @@
<item>310120</item>
<item>311480</item>
</string-array>
+
+ <!-- The preferred APN to use, in the format name,mcc,mnc
+ Leave empty to choose automatically. -->
+ <string name="config_preferred_apn"></string>
</resources>