Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab08a2be authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Settings: Use quad9.net for http

parent d2714004
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1200,7 +1200,7 @@ public class RadioInfo extends Activity {
        HttpURLConnection urlConnection = null;
        HttpURLConnection urlConnection = null;
        try {
        try {
            // TODO: Hardcoded for now, make it UI configurable
            // TODO: Hardcoded for now, make it UI configurable
            URL url = new URL("https://9.9.9.9");
            URL url = new URL("https://www.quad9.net");
            urlConnection = (HttpURLConnection) url.openConnection();
            urlConnection = (HttpURLConnection) url.openConnection();
            if (urlConnection.getResponseCode() == 200) {
            if (urlConnection.getResponseCode() == 200) {
                mHttpClientTestResult = "Pass";
                mHttpClientTestResult = "Pass";
+1 −1
Original line number Original line Diff line number Diff line
@@ -363,7 +363,7 @@ public class WifiStatusTest extends Activity {
        HttpURLConnection urlConnection = null;
        HttpURLConnection urlConnection = null;
        try {
        try {
            // TODO: Hardcoded for now, make it UI configurable
            // TODO: Hardcoded for now, make it UI configurable
            URL url = new URL("https://9.9.9.9");
            URL url = new URL("https://www.quad9.net");
            urlConnection = (HttpURLConnection) url.openConnection();
            urlConnection = (HttpURLConnection) url.openConnection();
            if (urlConnection.getResponseCode() == 200) {
            if (urlConnection.getResponseCode() == 200) {
                mHttpClientTestResult = "Pass";
                mHttpClientTestResult = "Pass";