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

Commit 8bc98583 authored by Sean Liu's avatar Sean Liu Committed by Android (Google) Code Review
Browse files

Merge "Bringing import/export dialog and select photo dialog up to spec (2/2)"...

Merge "Bringing import/export dialog and select photo dialog up to spec (2/2)" into ub-contactsdialer-f-dev
parents 5820558b fdae13bf
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -218,10 +218,12 @@ public class ImportExportDialogFragment extends DialogFragment
                }
            }
        };
        return new AlertDialog.Builder(getActivity())
                .setTitle(contactsAreAvailable
        final TextView title = (TextView) View.inflate(getActivity(), R.layout.dialog_title, null);
        title.setText(contactsAreAvailable
                ? R.string.dialog_import_export
                        : R.string.dialog_import)
                : R.string.dialog_import);
        return new AlertDialog.Builder(getActivity())
                .setCustomTitle(title)
                .setSingleChoiceItems(adapter, -1, clickListener)
                .create();
    }