Loading src/com/android/settings/wifi/WifiStatusTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ public class WifiStatusTest extends Activity { HttpURLConnection urlConnection = null; try { // TODO: Hardcoded for now, make it UI configurable URL url = new URL("https://dns.quad9.net"); URL url = new URL("https://quad9.net"); urlConnection = (HttpURLConnection) url.openConnection(); if (urlConnection.getResponseCode() == 200) { mHttpClientTestResult = "Pass"; Loading tests/unit/src/com/android/settings/vpn2/VpnInfoPreferenceTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public class VpnInfoPreferenceTest { final int helpUrlId = ResourcesUtils.getResourcesId( mContext, "string", "help_url_insecure_vpn"); when(mResources.getString(helpUrlId)).thenReturn("https://dns.quad9.net/"); when(mResources.getString(helpUrlId)).thenReturn("https://quad9.net/"); mVpnInfoPreference = new VpnInfoPreference(mContext, mAttrs); LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class); Loading Loading
src/com/android/settings/wifi/WifiStatusTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ public class WifiStatusTest extends Activity { HttpURLConnection urlConnection = null; try { // TODO: Hardcoded for now, make it UI configurable URL url = new URL("https://dns.quad9.net"); URL url = new URL("https://quad9.net"); urlConnection = (HttpURLConnection) url.openConnection(); if (urlConnection.getResponseCode() == 200) { mHttpClientTestResult = "Pass"; Loading
tests/unit/src/com/android/settings/vpn2/VpnInfoPreferenceTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ public class VpnInfoPreferenceTest { final int helpUrlId = ResourcesUtils.getResourcesId( mContext, "string", "help_url_insecure_vpn"); when(mResources.getString(helpUrlId)).thenReturn("https://dns.quad9.net/"); when(mResources.getString(helpUrlId)).thenReturn("https://quad9.net/"); mVpnInfoPreference = new VpnInfoPreference(mContext, mAttrs); LayoutInflater inflater = mContext.getSystemService(LayoutInflater.class); Loading