|
|
|
@ -234,9 +234,7 @@ public class AdapterContact extends RecyclerView.Adapter<AdapterContact.ViewHold
|
|
|
|
|
|
|
|
|
|
if (contact.state != EntityContact.STATE_IGNORE)
|
|
|
|
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_advanced_never_favorite, 1, R.string.title_advanced_never_favorite);
|
|
|
|
|
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R && // should be system whitelisted
|
|
|
|
|
share.resolveActivity(context.getPackageManager()) != null)
|
|
|
|
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_share, 2, R.string.title_share);
|
|
|
|
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_share, 2, R.string.title_share); // should be system whitelisted
|
|
|
|
|
if (Shortcuts.can(context))
|
|
|
|
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_pin, 3, R.string.title_pin);
|
|
|
|
|
popupMenu.getMenu().add(Menu.NONE, R.string.title_advanced_edit_name, 4, R.string.title_advanced_edit_name);
|
|
|
|
|