Fixed groups NPE when creating or editing contact.

Depending on the device state, mGroups may have not been
populated.  In this case, we ignore writing groups data.

This may cause data loss of group membership, so the
original bug has been repurposed to fix longer-term.

This fixes http://b/viewIssue?id=1975661
1 file changed