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

Commit f374f705 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove linking options from the ME profile" into ub-contactsdialer-h-dev

parents cde057f8 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);
        }