]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Change the default homepage to `https://start.duckduckgo.com`. Implements https...
authorSoren Stoutner <soren@stoutner.com>
Sat, 3 Jun 2017 05:17:01 +0000 (22:17 -0700)
committerSoren Stoutner <soren@stoutner.com>
Sat, 3 Jun 2017 05:17:01 +0000 (22:17 -0700)
app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java
app/src/main/res/xml/preferences.xml

index 9744eba3e652dadcecc37affe370833cb5fa76ca..a0046280162d4c7bb62edad317322c5cb17f6b7d 100644 (file)
@@ -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", "");
index 162d932bcfa80196492dbdb979b4cafc4df74efd..5c188cf49b744c695b58ddab4d3e027ef44092e0 100644 (file)
         <EditTextPreference
             android:key="homepage"
             android:title="@string/homepage"
-            android:defaultValue="https://duckduckgo.com"
+            android:defaultValue="https://start.duckduckgo.com"
             android:inputType="textUri"
             android:icon="@drawable/home_enabled" />