Merge "Change the validation URL for Chinese SIMs"

am: 08d4a537ec

Change-Id: I452a9d370ee6174db26b6a256b16ea236270624a
This commit is contained in:
Remi NGUYEN VAN
2019-04-11 18:39:35 -07:00
committed by android-build-merger

View File

@@ -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>