diff --git a/src/com/android/email/provider/FolderPickerDialog.java b/src/com/android/email/provider/FolderPickerDialog.java index bf9a4e2e6..d17af8e20 100644 --- a/src/com/android/email/provider/FolderPickerDialog.java +++ b/src/com/android/email/provider/FolderPickerDialog.java @@ -64,8 +64,8 @@ public class FolderPickerDialog implements OnClickListener, OnMultiChoiceClickLi mAdapter = new SeparatedFolderListAdapter(context); String[] headers = context.getResources() .getStringArray(R.array.moveto_folder_sections); - mAdapter.addSection(new FolderPickerSelectorAdapter(context, - foldersCursor, new HashSet(), true, headers[2])); + mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor, + new HashSet(), R.layout.radiobutton_single_folders_view, headers[2])); builder.setAdapter(mAdapter, this); } finally { foldersCursor.close(); diff --git a/src/com/android/email/provider/FolderPickerSelectorAdapter.java b/src/com/android/email/provider/FolderPickerSelectorAdapter.java index aa91670b5..c88f7c8f1 100644 --- a/src/com/android/email/provider/FolderPickerSelectorAdapter.java +++ b/src/com/android/email/provider/FolderPickerSelectorAdapter.java @@ -30,8 +30,8 @@ import java.util.Set; public class FolderPickerSelectorAdapter extends HierarchicalFolderSelectorAdapter { public FolderPickerSelectorAdapter(Context context, Cursor folders, - Set initiallySelected, boolean single, String header) { - super(context, folders, initiallySelected, single, header); + Set initiallySelected, int layout, String header) { + super(context, folders, initiallySelected, layout, header); } /**