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

Commit c51b1d0e authored by Maurice Chu's avatar Maurice Chu Committed by Android (Google) Code Review
Browse files

Merge "Disallow creating shortcut for directory contacts" into jb-dev

parents 36923016 c4af651a
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