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

Commit f97f4b0b authored by cretin45's avatar cretin45 Committed by Ed Carrigan
Browse files

Contacts: Remove contact shortcut for lookup contact

If a contact comes from an enhanced lookup,
don't show the menu option to add shortcut to homescreen.

Addresses MMS-145

Change-Id: If354fdb65e4e1f2f27e71dbe1b41f145c46cb20c
parent 4cf2e2ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2389,7 +2389,8 @@ public class QuickContactActivity extends ContactsActivity {
    }

    private boolean isShortcutCreatable() {
        if (mContactData == null || mContactData.isUserProfile()) {
        if (mContactData == null || mContactData.isUserProfile() ||
                !TextUtils.isEmpty(mContactData.getProviderName())) {
            return false;
        }
        final Intent createShortcutIntent = new Intent();