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

Commit a38831ec authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Promotion of android_ui.lnx.2.1-00023.

CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1077298   I4a5e30fe6df679f0626b9a0c9161221ebc49733b   Fix StaleDataException when add group in message

Change-Id: Ic0ff136e7ba027a72fb3987eed6ae189458bf622
CRs-Fixed: 1077298
parents 64df2d11 c3708db1
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ public class GroupsFragment extends ExpandableListFragment implements OnGroupCli
        if (mAdapter.getCursor() != null) {
            mAdapter.getCursor().close();
        }

        mAdapter.notifyDataSetInvalidated();
        if(allContactsInGroups!=null)
            allContactsInGroups.close();

@@ -790,8 +790,6 @@ public class GroupsFragment extends ExpandableListFragment implements OnGroupCli
        protected Cursor getChildrenCursor(Cursor groupCursor) {
            long groupId = groupCursor.getLong(GROUP_ID);
            Cursor c = getContactsDetailCursor(groupId);
            if (c != null)
                getActivity().startManagingCursor(c);
            return c;
        }

@@ -811,7 +809,7 @@ public class GroupsFragment extends ExpandableListFragment implements OnGroupCli
        private void fillAllContactsCursorMap() {
            mAllContactsCurosrMap.clear();
            Cursor cursor = null;
            if (mGroupsCursor == null)
            if (mGroupsCursor == null || mGroupsCursor.isClosed())
                return;
            for (int groupPosition = 0; groupPosition < mGroupsCursor.getCount(); groupPosition++) {
                mGroupsCursor.moveToPosition(groupPosition);