platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java in rhodes-2.2.6 vs platform/android/Rhodes/src/com/rhomobile/rhodes/event/EventStore.java in rhodes-2.3.0.beta.1
- old
+ new
@@ -67,10 +67,10 @@
}
return false;
}
private static ContentResolver getContentResolver() {
- return RhodesService.getInstance().getContext().getContentResolver();
+ return RhodesService.getInstance().getContentResolver();
}
private static long getDefaultCalendarId() {
final Cursor calendarCursor = getContentResolver().query(
Uri.parse("content://" + AUTHORITY + "/calendars"),