Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix - Don't Use File Download Worker for Two Way Sync #13993

Merged

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Nov 11, 2024

  • Tests written, or not not needed

Changes

  • Use FileDownloadWorker only for manual sync to ensure that notifications for downloads do not disappear. Additionally, observe the sync status in the adapter, and ensure the cancellation functionality for sync is not broken after these changes for Two-Way-Sync

  • Add operation?.cancel() in the onStopped() method to improve cancellation handling through SynchronizeFolderOperations

@alperozturk96
Copy link
Collaborator Author

/backport to stable-3.30

Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Copy link

Codacy

Lint

TypemasterPR
Warnings5959
Errors33

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness6261
Dodgy code297297
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness67
Performance5353
Security1818
Total510510

@tobiasKaminsky tobiasKaminsky merged commit ca29ea9 into master Nov 11, 2024
18 of 21 checks passed
@tobiasKaminsky tobiasKaminsky deleted the bugfix/dont-use-file-download-worker-for-two-way-sync branch November 11, 2024 14:25
@AndyScherzinger
Copy link
Member

@tobiasKaminsky @alperozturk96 breaks FileIT test with a compile error

FjPlays pushed a commit to FjPlays/android that referenced this pull request Nov 12, 2024
…e-download-worker-for-two-way-sync

BugFix - Don't Use File Download Worker for Two Way Sync
@ZetaTom
Copy link
Collaborator

ZetaTom commented Nov 12, 2024

@tobiasKaminsky @alperozturk96 breaks FileIT test with a compile error

Should be resolved with #13998.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants