Remove static context getter from BrowserApp

This commit is contained in:
Anthony Restaino 2016-01-23 12:54:57 -05:00
parent 076b74e867
commit db52a94d8c

View File

@ -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;
} }