Browse Source

Remove static context getter from BrowserApp

master
Anthony Restaino 9 years ago
parent
commit
db52a94d8c
  1. 5
      app/src/main/java/acr/browser/lightning/app/BrowserApp.java

5
app/src/main/java/acr/browser/lightning/app/BrowserApp.java

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

Loading…
Cancel
Save