From ec3fc0505f1b9598e8f5fffe69451b8066ccc144 Mon Sep 17 00:00:00 2001 From: Prashant Saini Date: Wed, 4 Dec 2024 18:52:45 +0530 Subject: [PATCH] Update android/modules/calendar/src/java/ti/modules/titanium/calendar/CalendarProxy.java Co-authored-by: Michael Gangolf --- .../src/java/ti/modules/titanium/calendar/CalendarProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/modules/calendar/src/java/ti/modules/titanium/calendar/CalendarProxy.java b/android/modules/calendar/src/java/ti/modules/titanium/calendar/CalendarProxy.java index c7074fdb4f5..a254cb9b4e3 100644 --- a/android/modules/calendar/src/java/ti/modules/titanium/calendar/CalendarProxy.java +++ b/android/modules/calendar/src/java/ti/modules/titanium/calendar/CalendarProxy.java @@ -306,7 +306,7 @@ public int deleteEvents(Object args) // Check for permissions. ContentResolver contentResolver = TiApplication.getInstance().getContentResolver(); - if (!CalendarProxy.hasCalendarPermissions()) { + if (!hasCalendarPermissions()) { Log.e(TAG, "Calendar permissions are missing."); return deletedCount; }