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:
parent
1f27897679
commit
80221dace8
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user