@ -140,14 +129,15 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@@ -140,14 +129,15 @@ public class HistoryDatabase extends SQLiteOpenHelper {
StringselectQuery="SELECT * FROM "+TABLE_HISTORY+" WHERE "+KEY_TITLE+" LIKE '%"
+search+"%' OR "+KEY_URL+" LIKE '%"+search+"%' "+"ORDER BY "
+KEY_TIME_VISITED+" DESC LIMIT 5";
@ -165,12 +155,10 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@@ -165,12 +155,10 @@ public class HistoryDatabase extends SQLiteOpenHelper {
StringselectQuery="SELECT * FROM "+TABLE_HISTORY+" ORDER BY "+KEY_TIME_VISITED
@ -189,12 +177,10 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@@ -189,12 +177,10 @@ public class HistoryDatabase extends SQLiteOpenHelper {
StringselectQuery="SELECT * FROM "+TABLE_HISTORY+" ORDER BY "+KEY_TIME_VISITED
@ -212,18 +198,15 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@@ -212,18 +198,15 @@ public class HistoryDatabase extends SQLiteOpenHelper {
@ -71,7 +71,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -71,7 +71,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
privateRecyclerViewmRecyclerView;
privateLightningViewAdaptermTabsAdapter;
privateBrowserControllermUiController;
privateUIControllermUiController;
@Inject
TabsManagertabsManager;
@ -91,7 +91,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View
@@ -91,7 +91,7 @@ public class TabsFragment extends Fragment implements View.OnClickListener, View