diff --git a/src/com/android/email/provider/FolderSelectionDialog.java b/src/com/android/email/provider/FolderSelectionDialog.java index b15a455f8..74a182e7d 100644 --- a/src/com/android/email/provider/FolderSelectionDialog.java +++ b/src/com/android/email/provider/FolderSelectionDialog.java @@ -61,8 +61,8 @@ public class FolderSelectionDialog implements OnClickListener, OnMultiChoiceClic mAdapter = new SeparatedFolderListAdapter(context); String[] headers = context.getResources() .getStringArray(R.array.moveto_folder_sections); - mAdapter.addSection(headers[2], new HierarchicalFolderSelectorAdapter(context, - foldersCursor, new HashSet(), true)); + mAdapter.addSection(new HierarchicalFolderSelectorAdapter(context, + foldersCursor, new HashSet(), true, headers[2])); builder.setAdapter(mAdapter, this); } finally { foldersCursor.close();