summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartincz Gao <martincz@mokeedev.com>2019-12-24 14:09:27 +0800
committeralk3pInjection <webmaster@raspii.tech>2021-09-27 21:17:05 +0800
commit7ee2ff3f74256bdeac28b056ecb20061d3c8d2e4 (patch)
tree91a00a406d11ad178eeb6d3b5816dcaaa6999e90
parent88d4fd9cd4e49102d92cd7e6d8e270284e00e76e (diff)
NetworkStack: Optimize connectivitycheck for Chinese users
Signed-off-by: alk3pInjection <webmaster@raspii.tech> Change-Id: I9cd87b3143f7b82204b1b0af32b932b86cda8a82
-rw-r--r--res/values/config.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index d6a11ab..734000f 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -13,7 +13,7 @@
config_captive_portal_http_url and *NOT* by changing or overlaying
this resource. It will break if the enforcement of overlayable starts.
-->
- <string name="default_captive_portal_http_url" translatable="false">http://connectivitycheck.gstatic.com/generate_204</string>
+ <string name="default_captive_portal_http_url" translatable="false">http://conn1.oppomobile.com/generate_204</string>
<!-- HTTPS URL for network validation, to use for confirming internet connectivity. -->
<!-- default_captive_portal_https_url is not configured as overlayable so
OEMs that wish to change captive_portal_https_url configuration must
@@ -21,7 +21,7 @@
config_captive_portal_https_url and *NOT* by changing or overlaying
this resource. It will break if the enforcement of overlayable starts.
-->
- <string name="default_captive_portal_https_url" translatable="false">https://www.google.com/generate_204</string>
+ <string name="default_captive_portal_https_url" translatable="false">https://conn1.oppomobile.com/generate_204</string>
<!-- List of fallback URLs to use for detecting captive portals. -->
<!-- default_captive_portal_fallback_urls is not configured as overlayable
@@ -31,7 +31,8 @@
this resource. It will break if the enforcement of overlayable starts.
-->
<string-array name="default_captive_portal_fallback_urls" translatable="false">
- <item>http://www.google.com/gen_204</item>
+ <item>http://connectivitycheck.gstatic.com/generate_204</item>
+ <item>http://www.google.com/generate_204</item>
<item>http://play.googleapis.com/generate_204</item>
</string-array>
<!-- Configuration hooks for the above settings.