From: Soren Stoutner Date: Sat, 3 Jun 2017 05:17:01 +0000 (-0700) Subject: Change the default homepage to `https://start.duckduckgo.com`. Implements https... X-Git-Tag: v2.4~15 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=0ef5e9e86c340e134f78f072b2449bb29179ec28;p=PrivacyBrowserAndroid.git Change the default homepage to `https://start.duckduckgo.com`. Implements https://redmine.stoutner.com/issues/140. --- diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index 9744eba3..a0046280 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -2124,7 +2124,7 @@ public class MainWebViewActivity extends AppCompatActivity implements Navigation SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); // Store the values from `sharedPreferences` in variables. - String homepageString = sharedPreferences.getString("homepage", "https://duckduckgo.com"); + String homepageString = sharedPreferences.getString("homepage", "https://start.duckduckgo.com"); String torHomepageString = sharedPreferences.getString("tor_homepage", "https://3g2upl4pq6kufc4m.onion"); String torSearchString = sharedPreferences.getString("tor_search", "https://3g2upl4pq6kufc4m.onion/html/?q="); String torSearchCustomURLString = sharedPreferences.getString("tor_search_custom_url", ""); diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 162d932b..5c188cf4 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -201,7 +201,7 @@