diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-01-04 02:27:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-01-04 02:27:41 +0000 |
commit | 82bf718ceb81306ecd0d2e7f0817d13f85de8cfe (patch) | |
tree | eaf9bac842de3692900472f9c8bf09ac9002f934 | |
parent | 23a8449028847f69bdd5ff825214d95e36395d3c (diff) | |
parent | b0eefc78336d81714d6b9670ce01e5dc32d0f58b (diff) | |
download | Calendar-82bf718ceb81306ecd0d2e7f0817d13f85de8cfe.tar.gz |
Merge "Snap for 11271525 from 63b8b27393f973de4fea6bb315fbb1f9764405d8 to sdk-release" into sdk-release
-rw-r--r-- | src/com/android/calendar/widget/CalendarAppWidgetService.kt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/calendar/widget/CalendarAppWidgetService.kt b/src/com/android/calendar/widget/CalendarAppWidgetService.kt index 0d1018f3..26ed563c 100644 --- a/src/com/android/calendar/widget/CalendarAppWidgetService.kt +++ b/src/com/android/calendar/widget/CalendarAppWidgetService.kt @@ -504,9 +504,7 @@ class CalendarAppWidgetService : RemoteViewsService() { if (matrixCursor != null) { matrixCursor.close() } - if (cursor != null) { - cursor.close() - } + cursor.close() } // Schedule an alarm to wake ourselves up for the next update. @@ -662,4 +660,4 @@ class CalendarAppWidgetService : RemoteViewsService() { } } } -}
\ No newline at end of file +} |