@ -220,19 +217,6 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@@ -220,19 +217,6 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@ -32,42 +38,24 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -32,42 +38,24 @@ public class HistoryItem implements Comparable<HistoryItem> {
@ -131,40 +119,34 @@ public class HistoryItem implements Comparable<HistoryItem> {
@@ -131,40 +119,34 @@ public class HistoryItem implements Comparable<HistoryItem> {
@ -62,7 +60,7 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -62,7 +60,7 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -77,16 +75,16 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -77,16 +75,16 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -111,19 +109,19 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -111,19 +109,19 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -139,12 +137,12 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -139,12 +137,12 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -161,13 +159,7 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -161,13 +159,7 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -175,22 +167,16 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -175,22 +167,16 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -198,24 +184,18 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@@ -198,24 +184,18 @@ public class AdvancedSettingsFragment extends LightningPreferenceFragment implem
@ -58,14 +58,14 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -58,14 +58,14 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
// Event bus
@Inject
BuseventBus;
BusmEventBus;
// Dialog builder
@Inject
LightningDialogBuilderbookmarksDialogBuilder;
LightningDialogBuildermBookmarksDialogBuilder;
@Inject
PreferenceManagerpreferenceManager;
PreferenceManagermPreferenceManager;
// Adapter
privateBookmarkViewAdaptermBookmarkAdapter;
@ -81,10 +81,10 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -81,10 +81,10 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -101,20 +101,20 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -101,20 +101,20 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -123,56 +123,62 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -123,56 +123,62 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -182,8 +188,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -182,8 +188,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -195,12 +200,8 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -195,12 +200,8 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -216,30 +217,33 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -216,30 +217,33 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -280,8 +284,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -280,8 +284,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
}
}
// TODO this is basically a copy/paste from BrowserActivity, should be changed
@ -291,9 +294,9 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -291,9 +294,9 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -301,7 +304,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -301,7 +304,7 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -343,19 +346,19 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@@ -343,19 +346,19 @@ public class BookmarksFragment extends Fragment implements View.OnClickListener,
@ -57,7 +55,7 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -57,7 +55,7 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -75,13 +73,13 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -75,13 +73,13 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -103,23 +101,23 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -103,23 +101,23 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -137,32 +135,17 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -137,32 +135,17 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -192,12 +175,12 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -192,12 +175,12 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -208,7 +191,7 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -208,7 +191,7 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -216,11 +199,32 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@@ -216,11 +199,32 @@ public class DisplaySettingsFragment extends LightningPreferenceFragment impleme
@ -91,25 +90,25 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -91,25 +90,25 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -135,28 +134,28 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -135,28 +134,28 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -164,7 +163,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -164,7 +163,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -181,7 +180,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -181,7 +180,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -189,13 +188,13 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -189,13 +188,13 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -206,7 +205,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -206,7 +205,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -214,12 +213,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -214,12 +213,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -236,7 +230,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -236,7 +230,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
break;
}
preferenceManager.setProxyChoice(choice);
mPreferenceManager.setProxyChoice(choice);
if(choice<mProxyChoices.length)
proxy.setSummary(mProxyChoices[choice]);
}
@ -254,8 +248,8 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -254,8 +248,8 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -270,10 +264,10 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -270,10 +264,10 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -287,29 +281,24 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -287,29 +281,24 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
"DuckDuckGo (Privacy)","DuckDuckGo Lite (Privacy)","Baidu (Chinese)",
@ -327,15 +316,15 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -327,15 +316,15 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -344,12 +333,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -344,12 +333,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -357,7 +341,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -357,7 +341,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -369,7 +353,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -369,7 +353,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -379,48 +363,42 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -379,48 +363,42 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -438,18 +416,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -438,18 +416,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -463,7 +430,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -463,7 +430,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -475,36 +442,25 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -475,36 +442,25 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -578,40 +534,67 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@@ -578,40 +534,67 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
@ -77,13 +75,13 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@@ -77,13 +75,13 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@ -149,12 +147,7 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@@ -149,12 +147,7 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@ -174,12 +167,7 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@@ -174,12 +167,7 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@ -209,31 +197,31 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme
@@ -209,31 +197,31 @@ public class PrivacySettingsFragment extends LightningPreferenceFragment impleme