alperozturk
|
b8b3d65907
|
Implement files download worker constructor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
1775e342fb
|
Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
1a7e8cbef1
|
Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
dbe9c58737
|
Cleanup code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
9226a14dda
|
Fix download progress
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
5559d7bf66
|
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e4d7385124
|
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
a12dca59e7
|
Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
26804d1954
|
Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
dc0bcefcf3
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
9d2271a380
|
Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
412319276d
|
Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
f67b3a9f83
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
0fd76576b2
|
Refactor FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
b804258790
|
Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
dcbf89c3d2
|
Implement FilesDownloadWorker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e33ef3b2a5
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
a2a1ce4f23
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
4209c48945
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e1dc124a72
|
Use fileId for notificationId
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
a0482e496d
|
Improve notifications for different custom Android OS
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
ef2ebb9176
|
Add long running task support
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
Jonas Mayer
|
be1fed8f84
|
Improve Notifications
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e9e74ba8fb
|
Fix Cancel Notification Appearance and Progress Bar Visibility
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
457f01dfd4
|
Fix cancel notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2754cc6ac6
|
Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
25ff9e884a
|
Prevent unnecessary file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
3099ff3991
|
Rename worker observer func
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
9b8829701b
|
Fix cancel for unique tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
4a5d75a325
|
Use unique tag for all download type to fix sync problems
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
bb2f2c7fc6
|
Fix cancel feature for individual file download inside folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e0b5fc1257
|
Cancel All notification when sync canncelled
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
12f95c6b8e
|
Cancel action remove added
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2fd1955bae
|
No need for clear for each worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
ec69cbc8fe
|
Fix race condition for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
801e86f555
|
Add user check for isFileInQueue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
0558c34718
|
Add showNewNotification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
b5a57fc55b
|
Fix sync icon for downloads in queue
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
dbf8ca9394
|
Add credentials error notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
11a8ec4ec1
|
Unify download notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
508460d49d
|
Fix potential race condition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
1ada24583d
|
Fix context memory leak
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
5a5b18bad0
|
Fix cancel
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
8d7aec013f
|
Rename argument name
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
0f59254b2b
|
Fix back to back download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
5a38769f83
|
Use same worker for file download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
11fa95d2b9
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
3ccec8e5fd
|
Add dismissAll notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
db1d58205c
|
Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
742f01259d
|
Fix tracking current download status
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2038c7ce59
|
Fix file sync icon
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
b2b94ff4cc
|
Fix serializable data limit crash
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e32d8adbcf
|
Add capability to track multiple download workers
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
7bfe1ae164
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
09b4cf44b2
|
Better notification for folder download
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
de8e5045bf
|
Fix isDownloading Folder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
ff891aee9c
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
d661dc2001
|
Fix worker tag
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
c131a1237e
|
Fix cancelAllDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
dafec345da
|
Fix isDownloadingFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2da427c04e
|
Add folder download job
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
01d620f051
|
Simplify worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
1c18a3d840
|
Move notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
cb40293932
|
Fixes notification manager
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
adb1269e0a
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
7b8be6b235
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
680f31edef
|
Fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
14cb1d436b
|
Use WorkerState for handling download state
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
ce463aff0b
|
Implement WorkerState for replacing ServiceConnection
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
d166035dda
|
Fix isDownloading, cancel, success notification
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2b6f96d1e3
|
Fix kotlin spotless check
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
f756a03147
|
Fix requestDownloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
875c509504
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
4e4c3a6dd5
|
Rebase master
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
3b5b4313eb
|
Use BackgroundJobManager for cancel Downloads
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e3d8e85337
|
Fix FileDownloaderBinder cancelAllDownloadsForAccount
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
efe6649b69
|
Fix FileDownloaderBinder functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
60ee1d59ad
|
Fix Code Analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
1c2c56fdd4
|
Fix sync
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
f14abd4b8e
|
Remove return
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
9b124d402b
|
Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
589f9561b2
|
Add TODO for some unknown code block
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
919fd6b850
|
Fix Notifications
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
d601998858
|
Fix createMockTask test
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
6bd335cf3c
|
Move packages
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
414e6a668a
|
Remove Download Service Connections
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e123128d90
|
Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e1238e3bd1
|
Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
daa882aa20
|
Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
7588dc5430
|
Implement files download worker constructor
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
e2b75915e7
|
Create download worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
8308f187fa
|
Solve git conflicts
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
cf09356cf7
|
Cleanup code
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
842ff87c84
|
Fix download progress
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
6fcc35f7de
|
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
fd3408b9ce
|
Code cleanup
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
9f3e61cef3
|
Create user from accountName
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
2b595910b4
|
Use interfaceSerializer
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
8610275362
|
Remove handler
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|
alperozturk
|
f0a845fc3a
|
Overload downloadFile functions
Signed-off-by: alperozturk <alper_ozturk@proton.me>
|
2024-01-12 08:51:16 +01:00 |
|