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

Commit d151ef7d authored by Brian Attwell's avatar Brian Attwell Committed by Android Git Automerger
Browse files

am 8d0557eb: Don\'t show shortcut menu item for homescreen

* commit '8d0557eb':
  Don't show shortcut menu item for homescreen
parents 83c00bfd 8d0557eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2224,6 +2224,9 @@ public class QuickContactActivity extends ContactsActivity {
    }

    private boolean isShortcutCreatable() {
        if (mContactData == null || mContactData.isUserProfile()) {
            return false;
        }
        final Intent createShortcutIntent = new Intent();
        createShortcutIntent.setAction(ACTION_INSTALL_SHORTCUT);
        final List<ResolveInfo> receivers = getPackageManager()