diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 4c17dee6721a2..5c60b3e1ea24b 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -2367,6 +2367,24 @@ public final class Settings {
*/
public static final String TETHER_SUPPORTED = "tether_supported";
+ /**
+ * Used to require DUN APN on the device or not - defaults to a build config value
+ * which defaults to false
+ * @hide
+ */
+ public static final String TETHER_DUN_REQUIRED = "tether_dun_required";
+
+ /**
+ * Used to hold a gservices-provisioned apn value for DUN. If set, or the
+ * corresponding build config values are set it will override the APN DB
+ * values.
+ * Consists of a comma seperated list of strings:
+ * "name,apn,proxy,port,username,password,server,mmsc,mmsproxy,mmsport,mcc,mnc,auth,type"
+ * note that empty fields can be ommitted: "name,apn,,,,,,,,,310,260,,DUN"
+ * @hide
+ */
+ public static final String TETHER_DUN_APN = "tether_dun_apn";
+
/**
* No longer supported.
*/
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index cd47ae956194a..1946388960151 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -91,8 +91,18 @@
-
- true
+
+ false
+
+
+
+