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

Commit 5b98d590 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Don't show shortcut menu item for homescreen"

parents 57686be2 24dbbd02
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2358,6 +2358,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()