Skip to content

[Feature request] Add Cancel and Pause / Resume buttons to notification #610

@SerpentDash

Description

@SerpentDash

This could be really useful feature to let end user cancel or pause downloading from notifications, especially if we don't make any other way to cancel task (eg if our app doesn't have any cancel button).

Implementation should be pretty straight forward, in Notification builder (DownloadWorker.java) add two actions, create two PendingIntents for corresponding functionalities and remove those buttons when DownloadStatus is 'Complete'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions