Skip to content

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Sep 5, 2025

  • Tests written, or not not needed

Issue

Previously, download progress worker states were being observed in both FileDisplayActivity and FileDetailsFragment. This caused unnecessary calls in FileDisplayActivity, even though progress tracking is only required in FileDetailsFragment.

In addition, progress notifications for large file downloads were repeatedly triggering sounds, leading to an annoying “beeping” effect during long transfers.

1notify

Changes

Separated event handling so that download progress is only observed within FileDetailsFragment, avoiding redundant updates in FileDisplayActivity.

Updated the download notification configuration to suppress repeated alert sounds for progress updates.

Before

Screen.Recording.2025-09-05.at.12.54.38.mp4

After

after.mp4

@alperozturk96 alperozturk96 force-pushed the fix/listen-unnecessary-worker-download-state branch from 59c813c to 37df0dc Compare September 5, 2025 13:46
Copy link

github-actions bot commented Sep 5, 2025

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15544.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@alperozturk96 alperozturk96 merged commit 8fb887d into master Sep 12, 2025
13 of 19 checks passed
@alperozturk96 alperozturk96 deleted the fix/listen-unnecessary-worker-download-state branch September 12, 2025 07:33
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.

2 participants