Migrate all trafic to Google services to HTTPS
This commit is contained in:
parent
9a9a06fe7b
commit
bfc6c3dadc
@ -46,7 +46,7 @@ public final class BookmarkPage {
|
||||
"<p class=ellipses>\n" +
|
||||
"<img src='";
|
||||
|
||||
private static final String PART3 = "http://www.google.com/s2/favicons?domain=";
|
||||
private static final String PART3 = "https://www.google.com/s2/favicons?domain=";
|
||||
|
||||
private static final String PART4 = "' />";
|
||||
|
||||
|
@ -344,7 +344,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
|
||||
if (!mHomepage.startsWith("about:")) {
|
||||
getHome.setText(mHomepage);
|
||||
} else {
|
||||
String defaultUrl = "http://www.google.com";
|
||||
String defaultUrl = "https://www.google.com";
|
||||
getHome.setText(defaultUrl);
|
||||
}
|
||||
homePicker.setView(getHome);
|
||||
|
@ -380,7 +380,7 @@ public class SearchAdapter extends BaseAdapter implements Filterable {
|
||||
language = DEFAULT_LANGUAGE;
|
||||
}
|
||||
try {
|
||||
URL url = new URL("http://google.com/complete/search?q=" + query
|
||||
URL url = new URL("https://google.com/complete/search?q=" + query
|
||||
+ "&output=toolbar&hl=" + language);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setDoInput(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user