mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
ensure that cancelled uploads are really getting cancelled (#5367)
This commit is contained in:
parent
6166fde7cd
commit
39a2fbe3d5
3 changed files with 47 additions and 15 deletions
|
|
@ -141,6 +141,11 @@ public class CommonsApplication extends MultiDexApplication {
|
|||
*/
|
||||
public static Map<String, Boolean> pauseUploads = new HashMap<>();
|
||||
|
||||
/**
|
||||
* In-memory list of uploads that have been cancelled by the user
|
||||
*/
|
||||
public static HashSet<String> cancelledUploads = new HashSet<>();
|
||||
|
||||
/**
|
||||
* Used to declare and initialize various components and dependencies
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue