Remove static context getter from BrowserApp
This commit is contained in:
parent
076b74e867
commit
db52a94d8c
@ -20,7 +20,6 @@ public class BrowserApp extends Application {
|
||||
private static AppComponent appComponent;
|
||||
private static final Executor mIOThread = Executors.newSingleThreadExecutor();
|
||||
|
||||
@Inject static Context context;
|
||||
@Inject static HistoryDatabase historyDatabase;
|
||||
@Inject static Bus bus;
|
||||
@Inject static PreferenceManager preferenceManager;
|
||||
@ -41,10 +40,6 @@ public class BrowserApp extends Application {
|
||||
return appComponent;
|
||||
}
|
||||
|
||||
public static Context getContext() {
|
||||
return context;
|
||||
}
|
||||
|
||||
public static HistoryDatabase getHistoryDatabase() {
|
||||
return historyDatabase;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user