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

Commit 71d8745b authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Gerrit Code Review
Browse files

localgroups: fix null pointer access



Change-Id: I2a5805fc00903bc427e62a924b06e10a48d0ffe3
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent cca185b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class LocalGroups {
        }

        public static Group restoreGroup(Cursor cursor) {
            if (cursor == null && cursor.getCount() == 0) {
            if (cursor == null || cursor.getCount() == 0) {
                return null;
            }
            Group group = new Group();