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

Commit c48394b1 authored by Gary Mai's avatar Gary Mai Committed by android-build-merger
Browse files

Remove linking options from the ME profile

am: 59ebb1b9

Change-Id: Ied402ec7806f0014e4669b80ac6e7b692cc24c8a
parents 491f9446 59ebb1b9
Loading
Loading
Loading
Loading
+27 −24
Original line number Diff line number Diff line
@@ -181,6 +181,8 @@ public class PickRawContactDialogFragment extends DialogFragment {
        mAdapter = new RawContactAccountListAdapter(getContext(), metadata);
        if (metadata.showReadOnly) {
            builder.setTitle(R.string.contact_editor_pick_linked_contact_dialog_title);
            // Only provide link editing options for non-user profile contacts.
            if (!metadata.isUserProfile) {
                builder.setPositiveButton(R.string.contact_editor_add_linked_contact,
                        new DialogInterface.OnClickListener() {
                            @Override
@@ -205,6 +207,7 @@ public class PickRawContactDialogFragment extends DialogFragment {
                                        SplitContactConfirmationDialogFragment.TAG);
                            }
                        });
            }
        } else {
            builder.setTitle(R.string.contact_editor_pick_raw_contact_to_edit_dialog_title);
        }