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

Commit a1af0c83 authored by Tingting Wang's avatar Tingting Wang
Browse files

Do not show suggestions when contact is not created.

BUG 25188901

Change-Id: I8ed983f5c8031030b7e90cabc755c92296f62eef
parent e3727c81
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1329,6 +1329,9 @@ public class QuickContactActivity extends ContactsActivity
        mPreviousContactId = mContactData.getId();

        // Trigger suggestion engine to compute suggestions.
        if (mContactData.getId() <= 0) {
            return;
        }
        final ContentValues values = new ContentValues();
        values.put(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,
                mContactData.getDisplayName());