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

Commit c4af651a authored by Maurice Chu's avatar Maurice Chu
Browse files

Disallow creating shortcut for directory contacts

Bug: 6574684
Change-Id: I0b31da1191fdd589376edfac65ff0d4025313df0
parent 9006a566
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -284,7 +284,8 @@ public class ContactLoaderFragment extends Fragment implements FragmentKeyListen
    }

    public boolean isContactCanCreateShortcut() {
        return mContactData != null && !mContactData.isUserProfile();
        return mContactData != null && !mContactData.isUserProfile()
                && !mContactData.isDirectoryEntry();
    }

    @Override