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

Commit d428026d authored by Wenyi Wang's avatar Wenyi Wang Committed by android-build-merger
Browse files

Fix NPE in loading group items am: 6942b708

am: 28583f88

Change-Id: Ide2515e87958d0239c7fe857d9db66ec16e44fff
parents 72353f91 28583f88
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -56,6 +56,9 @@ public final class GroupsFragment extends Fragment {

                @Override
                public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
                    if (data == null) {
                        return;
                    }
                    mGroupListItems.clear();
                    for (int i = 0; i < data.getCount(); i++) {
                        if (data.moveToNext()) {