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

Commit fdae13bf authored by guanxiongliu's avatar guanxiongliu
Browse files

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

Bug:30079784
Change-Id: I5fcb59293141df1cb26e2cf7de7a6ef7dbacad0a
parent 704667ed
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();
    }