let DcHelper.getContext() return the derived context object to access eg. DcEventCenter

This commit is contained in:
B. Petersen
2018-08-30 17:52:54 +02:00
parent 175ad7b940
commit 8501067e02
@@ -22,7 +22,7 @@ public class DcHelper {
private static final String CONFIG_SELF_STATUS = "selfstatus";
private static final String CONFIG_E2EE_ENABLED = "e2ee_enabled";
public static DcContext getContext(Context context) {
public static ApplicationDcContext getContext(Context context) {
return ApplicationContext.getInstance(context).dcContext;
}