Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6972487 authored by Michael Chan's avatar Michael Chan
Browse files

Fixed a crash in onLoadComplete where the cursor is closed(!)

Bug: 6493524
Change-Id: I637b4e68bf9a19fa4bf1a41bcfb030637eea8401
parent e8701d3f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -472,7 +472,7 @@ public class CalendarAppWidgetService extends RemoteViewsService {
         */
        @Override
        public void onLoadComplete(Loader<Cursor> loader, Cursor cursor) {
            if (cursor == null) {
            if (cursor == null || cursor.isClosed()) {
                return;
            }
            // If a newer update has happened since we started clean up and