1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

Mark DownloadImageTask as deprecated

This commit is contained in:
cketti 2015-02-04 21:43:45 +01:00
parent 1f27897679
commit 80221dace8
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ import com.fsck.k9.provider.AttachmentProvider.AttachmentProviderColumns;
import org.apache.commons.io.IOUtils;
@Deprecated
class DownloadImageTask extends AsyncTask<String, Void, String> {
private static final String[] ATTACHMENT_PROJECTION = new String[] {
AttachmentProviderColumns._ID,

View File

@ -220,6 +220,7 @@ public class MessageContainerView extends LinearLayout implements OnClickListene
break;
}
case MENU_ITEM_IMAGE_SAVE: {
//TODO: Use download manager
new DownloadImageTask(getContext()).execute(url);
break;
}