tachiyomi/app/src/main/java/eu/kanade
nicki fdf384b809
Add Cancel button to App Update Notification (#7309)
* Add cancel button in app update download notif

Since stuck downloads are a common issue and only solution until now was
to force close the app or download and update the app manually by
downloading from GitHub (which clears the notif away)

Based on commit
4dea924337

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>

* Linting by Android Studio

* commit PR Review Suggestion

Update app/src/main/java/eu/kanade/tachiyomi/data/notification/NotificationReceiver.kt

Co-authored-by: arkon <arkon@users.noreply.github.com>

* Use `launchIO`

copied this over from how j2k was doing it. Launching in IO Thread like
how it was before this PR is sufficient

* Clear previous actions before adding `Cancel`

Otherwise, it led to two identical Cancel buttons

Co-authored-by: Jays2Kings <8617760+Jays2Kings@users.noreply.github.com>
Co-authored-by: arkon <arkon@users.noreply.github.com>
2022-06-15 18:07:01 -04:00
..
core Convert Extension tab to use Compose (#7107) 2022-05-15 09:59:53 -04:00
data Maintain source info in the database. (#6389) 2022-06-14 09:10:40 -04:00
domain Maintain source info in the database. (#6389) 2022-06-14 09:10:40 -04:00
presentation Fix WebView user-agent (fixes #7306) 2022-06-15 18:05:56 -04:00
tachiyomi Add Cancel button to App Update Notification (#7309) 2022-06-15 18:07:01 -04:00