diff --git a/src/com/fsck/k9/view/AttachmentView.java b/src/com/fsck/k9/view/AttachmentView.java index 1fff23319..0ebfa228e 100644 --- a/src/com/fsck/k9/view/AttachmentView.java +++ b/src/com/fsck/k9/view/AttachmentView.java @@ -1,7 +1,16 @@ package com.fsck.k9.view; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; + +import org.apache.commons.io.IOUtils; + import android.content.Context; import android.content.Intent; +import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; @@ -9,7 +18,12 @@ import android.os.Environment; import android.util.AttributeSet; import android.util.Log; import android.view.View; -import android.widget.*; +import android.widget.Button; +import android.widget.FrameLayout; +import android.widget.ImageView; +import android.widget.TextView; +import android.widget.Toast; + import com.fsck.k9.Account; import com.fsck.k9.K9; import com.fsck.k9.R; @@ -23,9 +37,6 @@ import com.fsck.k9.mail.Part; import com.fsck.k9.mail.internet.MimeUtility; import com.fsck.k9.mail.store.LocalStore.LocalAttachmentBodyPart; import com.fsck.k9.provider.AttachmentProvider; -import org.apache.commons.io.IOUtils; - -import java.io.*; public class AttachmentView extends FrameLayout {