From c07a44240311eb0ce44654284b010e6df8b08e86 Mon Sep 17 00:00:00 2001 From: Andrew Sapperstein Date: Thu, 3 Jul 2014 18:21:32 -0700 Subject: [PATCH] quantum change labels b/16054906 Change-Id: I0b8a639ccb76f2945e3839b10d59cf646d168e57 --- src/com/android/email/provider/FolderPickerDialog.java | 4 +--- .../android/email/provider/FolderPickerSelectorAdapter.java | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/com/android/email/provider/FolderPickerDialog.java b/src/com/android/email/provider/FolderPickerDialog.java index 059b82cea..37a7ed71f 100644 --- a/src/com/android/email/provider/FolderPickerDialog.java +++ b/src/com/android/email/provider/FolderPickerDialog.java @@ -62,10 +62,8 @@ public class FolderPickerDialog implements OnClickListener, OnMultiChoiceClickLi uri, UIProvider.FOLDERS_PROJECTION, null, null, null); try { mAdapter = new SeparatedFolderListAdapter(); - String[] headers = context.getResources() - .getStringArray(R.array.moveto_folder_sections); mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor, - new HashSet(), R.layout.radiobutton_single_folders_view, headers[2])); + new HashSet(), R.layout.multi_folders_view)); 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 0685b9db6..e832b4579 100644 --- a/src/com/android/email/provider/FolderPickerSelectorAdapter.java +++ b/src/com/android/email/provider/FolderPickerSelectorAdapter.java @@ -29,8 +29,8 @@ import java.util.Set; public class FolderPickerSelectorAdapter extends HierarchicalFolderSelectorAdapter { public FolderPickerSelectorAdapter(Context context, Cursor folders, - Set initiallySelected, int layout, String header) { - super(context, folders, initiallySelected, layout, header); + Set initiallySelected, int layout) { + super(context, folders, initiallySelected, layout); } /**