diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-03 01:26:37 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-03 01:26:37 +0000 |
commit | 03b1532871cf72287889209611b55fb3f29d5341 (patch) | |
tree | eaf9bac842de3692900472f9c8bf09ac9002f934 | |
parent | 0e5f99cfcc014bc27871693a9b8c873e21e96988 (diff) | |
parent | 15377a23e7ef730e49485ca82ac00c1720ad099b (diff) | |
download | Calendar-simpleperf-release.tar.gz |
Merge "Snap for 11400057 from 63b8b27393f973de4fea6bb315fbb1f9764405d8 to simpleperf-release" into simpleperf-releasesimpleperf-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 +} |