|
|
@ -20,7 +20,6 @@ public class BrowserApp extends Application { |
|
|
|
private static AppComponent appComponent; |
|
|
|
private static AppComponent appComponent; |
|
|
|
private static final Executor mIOThread = Executors.newSingleThreadExecutor(); |
|
|
|
private static final Executor mIOThread = Executors.newSingleThreadExecutor(); |
|
|
|
|
|
|
|
|
|
|
|
@Inject static Context context; |
|
|
|
|
|
|
|
@Inject static HistoryDatabase historyDatabase; |
|
|
|
@Inject static HistoryDatabase historyDatabase; |
|
|
|
@Inject static Bus bus; |
|
|
|
@Inject static Bus bus; |
|
|
|
@Inject static PreferenceManager preferenceManager; |
|
|
|
@Inject static PreferenceManager preferenceManager; |
|
|
@ -41,10 +40,6 @@ public class BrowserApp extends Application { |
|
|
|
return appComponent; |
|
|
|
return appComponent; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static Context getContext() { |
|
|
|
|
|
|
|
return context; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static HistoryDatabase getHistoryDatabase() { |
|
|
|
public static HistoryDatabase getHistoryDatabase() { |
|
|
|
return historyDatabase; |
|
|
|
return historyDatabase; |
|
|
|
} |
|
|
|
} |
|
|
|