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

Commit 8e9e782c authored by Marcus Hagerott's avatar Marcus Hagerott
Browse files

Fix failing SIM import test

Failure introduced in change I1eb259f5a6a6b97150d67b9e1e8238529c3c0dba

Test
ran GoogleContactsTests

Change-Id: Idb28a7fd1e529a62a5fe0ec1f9ee00adef54e3eb
parent 00e38301
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -70,8 +70,8 @@ public class SimContact implements Parcelable {

    public void appendCreateContactOperations(List<ContentProviderOperation> ops,
            AccountWithDataSet targetAccount) {
        // nothing to save.
        if (mName == null && mPhone == null && mEmails == null) return;
        // There is nothing to save so skip it.
        if (!hasName() && !hasPhone() && !hasEmails()) return;

        final int rawContactOpIndex = ops.size();
        ops.add(ContentProviderOperation.newInsert(ContactsContract.RawContacts.CONTENT_URI)