summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-04-12 01:18:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-12 01:18:12 +0000
commitf51f15e24149564c393ec628e9cb4b499f21ab9a (patch)
tree16c81d1ab5b207e66b6d7835bd69cc89a1ab2816
parent61f6adb42363089358a5ff3b78487725cbb219fb (diff)
parent482bf6a90bdcfd162556303a3e751c9264e499e1 (diff)
Merge "Change the validation URL for Chinese SIMs"
-rw-r--r--res/values-mcc460/config.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/values-mcc460/config.xml b/res/values-mcc460/config.xml
new file mode 100644
index 0000000..fd4a848
--- /dev/null
+++ b/res/values-mcc460/config.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <!-- Network validation URL configuration for devices using a Chinese SIM (MCC 460).
+ The below URLs are often whitelisted by captive portals, so they should not be used in the
+ general case as this could degrade the user experience (portals not detected properly).
+ However in China the default URLs are not accessible in general. The below alternatives
+ should allow users to connect to local networks normally. -->
+ <string name="default_captive_portal_https_url" translatable="false">https://connectivitycheck.gstatic.com/generate_204</string>
+ <string-array name="default_captive_portal_fallback_urls" translatable="false">
+ <item>http://www.googleapis.cn/generate_204</item>
+ </string-array>
+</resources>