Don't use a static object as download tag

Otherwise all the downloads will use the same tag and cancelling a
download will actually cancel all the downloads.
This commit is contained in:
Gabriele M
2017-07-08 17:20:47 +02:00
parent efa829358d
commit 5b0e37ea22
@@ -41,7 +41,7 @@ public class DownloadClient {
private static final String TAG = "DownloadClient";
private static final Object DOWNLOAD_TAG = new Object();
private final Object DOWNLOAD_TAG = new Object();
private boolean mCancelled = false;