This commit is contained in:
str4d
2015-01-09 23:20:44 +00:00
parent 4c5dff6a57
commit ca2d22f145

View File

@@ -547,6 +547,8 @@ public class NewEmailFragment extends Fragment {
List<Attachment> attachments = new ArrayList<Attachment>();
for (int i = 0; i < mAttachments.getChildCount(); i++) {
View v = mAttachments.getChildAt(i);
// Warning views don't have tags set
if (v.getTag() != null)
attachments.add((Attachment) v.getTag());
}