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" +
|
"<p class=ellipses>\n" +
|
||||||
"<img src='";
|
"<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 = "' />";
|
private static final String PART4 = "' />";
|
||||||
|
|
||||||
|
@ -344,7 +344,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
|
|||||||
if (!mHomepage.startsWith("about:")) {
|
if (!mHomepage.startsWith("about:")) {
|
||||||
getHome.setText(mHomepage);
|
getHome.setText(mHomepage);
|
||||||
} else {
|
} else {
|
||||||
String defaultUrl = "http://www.google.com";
|
String defaultUrl = "https://www.google.com";
|
||||||
getHome.setText(defaultUrl);
|
getHome.setText(defaultUrl);
|
||||||
}
|
}
|
||||||
homePicker.setView(getHome);
|
homePicker.setView(getHome);
|
||||||
|
@ -380,7 +380,7 @@ public class SearchAdapter extends BaseAdapter implements Filterable {
|
|||||||
language = DEFAULT_LANGUAGE;
|
language = DEFAULT_LANGUAGE;
|
||||||
}
|
}
|
||||||
try {
|
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);
|
+ "&output=toolbar&hl=" + language);
|
||||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||||
connection.setDoInput(true);
|
connection.setDoInput(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user