Skip to content

Ensure that upload notification gets cancelled#7050

Merged
tobiasKaminsky merged 1 commit into
nextcloud:masterfrom
grote:4998-cancel-notification
Oct 15, 2020
Merged

Ensure that upload notification gets cancelled#7050
tobiasKaminsky merged 1 commit into
nextcloud:masterfrom
grote:4998-cancel-notification

Conversation

@grote

@grote grote commented Oct 5, 2020

Copy link
Copy Markdown
Member

This is a follow up to #6997.

Normally, the notification gets cancelled when the service is destroyed. But that does not always happen in practice, so we also cancel it after every result.

Normally, the notification gets cancelled when the service is destroyed.
But that does not always happen in practice, so we also cancel it after
every result.

Signed-off-by: Torsten Grote <t@grobox.de>
@grote
grote force-pushed the 4998-cancel-notification branch from 9ec2422 to 931aac7 Compare October 5, 2020 16:29
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16051.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.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Codacy

Lint

TypemasterPR
Warnings7777
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings53
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings44
Dodgy code Warnings105
Total319

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings53
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings44
Dodgy code Warnings105
Total319

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

@grote

grote commented Oct 14, 2020

Copy link
Copy Markdown
Member Author

@tobiasKaminsky after using this branch, I haven't noticed any stuck notifications form FileUploader anymore.

@tobiasKaminsky
tobiasKaminsky merged commit a07b11d into nextcloud:master Oct 15, 2020
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.14.0 milestone Oct 15, 2020
thelittlefireman pushed a commit to thelittlefireman/android that referenced this pull request Mar 19, 2021
Ensure that upload notification gets cancelled
Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
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